Skip to content

DOC: code_checks patterns does not ignore .c files #24526

Closed
@jreback

Description

@jreback

should ignore .c files that are generated from .pyx (which are most)

get a bunch of errors like this

....
pandas/_libs/tslib.c:32200:Tailing whitespaces found:  * 
pandas/_libs/tslib.c:32201:Tailing whitespaces found:  * 
pandas/_libs/tslib.c:32211:Tailing whitespaces found:  * 
pandas/_libs/tslib.c:32213:Tailing whitespaces found:  * 
pandas/_libs/tslib.c:32214:Tailing whitespaces found:  * 
pandas/_libs/tslib.c:33594:Tailing whitespaces found:         
pandas/_libs/tslib.c:33595:Tailing whitespaces found:         
pandas/_libs/tslib.c:34701:Tailing whitespaces found:         
pandas/_libs/tslib.c:34702:Tailing whitespaces found:         
pandas/_libs/algos_take_helper.pxi:289:Tailing whitespaces found:     
pandas/_libs/algos_take_helper.pxi:324:Tailing whitespaces found:     
pandas/_libs/algos_take_helper.pxi:549:Tailing whitespaces found:     
pandas/_libs/algos_take_helper.pxi:584:Tailing whitespaces found:     
pandas/_libs/algos_take_helper.pxi:4709:Tailing whitespaces found:     
pandas/_libs/algos_take_helper.pxi:4744:Tailing whitespaces found:     
pandas.egg-info/PKG-INFO:10:Tailing whitespaces found: Description
pandas.egg-info/PKG-INFO:19:Tailing whitespaces found:         
pandas.egg-info/PKG-INFO:21:Tailing whitespaces found:         
pandas.egg-info/PKG-INFO:29:Tailing whitespaces found:         
pandas.egg-info/PKG-INFO:37:Tailing whitespaces found:         
pandas.egg-info/PKG-INFO:39:Tailing whitespaces found:         
pandas.egg-info/PKG-INFO:65:Tailing whitespaces found:         
pandas.egg-info/PKG-INFO:72:Tailing whitespaces found:         
Check that no file in the repo contains tailing whitespaces DONE

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions