Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
plammens opened this issue Sep 14, 2020 · 1 comment
Closed

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

plammens opened this issue Sep 14, 2020 · 1 comment
Labels
CI Continuous Integration Enhancement

Comments

@plammens
Copy link
Contributor

plammens commented Sep 14, 2020

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.

@mroeschke
Copy link
Member

Sounds like from #36386 there isn't much appetite to add this so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants