-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
STYLE: support flake8>3.4.1 #18419
Comments
On the E722 errors, are you happy if they're modified to Happy to fix the E741 issues too |
would really like to be explicit on exceptions and put what is actually thrown rather than Exception |
Hey @jreback, is this still open? When running the ci/lint.sh script locally with [email protected] I see E722 errors only. Happy to take a look at this if you still want this to be done. |
@tzyl still open - PRs are welcome |
Working on this now, will hopefully have done by tomorrow but there are lots of E722 issues. I'm making some (not so) educated guesses on expected exceptions, but where I can't derive the original intent / logic I'm just changing to Sorry for going quiet on this back in Dec, not sure what happened, my bad! |
Open for anyone else to pick this up or to do so in smaller chunks - @jreback provided some insights on how to approach here: |
flake8 > 3.4.1 has a fair amount more warnings
we need to either fix our code or remove the warnings
example from: https://travis-ci.org/pandas-dev/pandas/jobs/305553688
note that #18418 will pin 3.4.1, so these won't show in the CI.
We will need to revert this commit once things are fixed.
prob ok to turn off E740 (though fixing is not a big deal)
should fix the E722
The text was updated successfully, but these errors were encountered: