-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
CI, CLN remove unnecessary noqa statements, add CI check #36707
Conversation
LGTM |
Many trivial improvements is a non-trivial improvement 😄 |
can you rebase just to make sure |
Are we only down to F401 and F403? If so can we just fix the import machinery and get rid of noqa statements altogether? I think would be preferable to adding another tool to code checks |
Sure, have merged and pushed
Currently it only takes about 4-5 minutes to run all the checks we're doing in pre-commit on the entire codebase, and this one accounts for about 20 seconds. FWIW, my suggestion would be to keep this in until the import machinery is fixed, and then to remove it once there are no |
i don't think a big deal on time; these are on the azure builds and are still faster than travis so nbd. |
thanks @MarcoGorelli |
git diff upstream/master -u -- "*.py" | flake8 --diff
This changes loads of files, but most changes are quite trivial