-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[MRG] MNT Use the default flake8 --ignore options #9123
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
Conversation
OK that looked good to me. I pushed a small change and I'll merge this as soon as the Travis flake8 build passes. |
LGTM, although I've not checked what these particular error codes are. |
Merged thanks a lot for the PR and the build reproducing the problem! |
Thanks! For future reference, the default flake8 errors are (cf [1], [2]),
the flake8 documentation also states,
(which BTW doesn't match with the actual default parameters) |
Fixes #9121
This makes sure that the the TravisCI flake8 build is using the default flake8
--ignore
options, for smoother contribution workflow.. Also checked that these are defaults in the flake8 master branch.As suggested by @lesteve this specifies the ignored errors/warnings explicitly, while keeping one extra ignored error for examples. Unless you think it's better to simply remove the
--ignore
flag for non-examples?cc @jnothman