Skip to content

CI: exclude directories from ci/code_checks.sh #36368

Closed
@plammens

Description

@plammens

I'm using a virtual environment to contribute to pandas that sits in a venv directory in the repository root. When I run ./ci/code_checks.sh, all of the linters and checks start to check every single .py file in the virtual environment's site packages, which is a pain. Same happens with the documenation checks and the generated .rst files in doc/source/reference/api.

It would be nice to ensure that the script only runs on files that are being tracked by git, or at least have an option to exclude a directory when doing the checks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions