-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
flake8 cleanup #17964
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
flake8 cleanup #17964
Conversation
Hello @jbrockmendel! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated on October 27, 2017 at 21:58 Hours UTC |
Quick question(s): are we not style-checking this file in the first place? If not, why haven't we added it to the list of checked files? |
IIUC its only the diffs that get checked in the CI, so existing flake8 errors pass through. |
That's not the case, we should be linting the entire repository. However, I think it's because we only lint the We ask that contributors lint the diff because that's what introduces style-check errors on a PR. |
Codecov Report
@@ Coverage Diff @@
## master #17964 +/- ##
==========================================
- Coverage 91.23% 91.22% -0.02%
==========================================
Files 163 163
Lines 50113 50113
==========================================
- Hits 45723 45714 -9
- Misses 4390 4399 +9
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #17964 +/- ##
==========================================
- Coverage 91.24% 91.23% -0.02%
==========================================
Files 163 163
Lines 50168 50168
==========================================
- Hits 45778 45769 -9
- Misses 4390 4399 +9
Continue to review full report at Codecov.
|
@gfyoung is right all flake updates should update the checking code (eg for cython flaking) |
OK, just added a clause in ci/lint.sh. I fully expect it to fail for the time being -- is there a mechanism to |
@jbrockmendel : Not as far as I know. If you don't mind, why don't you try making a push to patch the remaining issues. If you have problems, remove the lint command from |
why would you expect a lint on this to fail? isn't that the point here, to make it work? |
The original PR fixed some but not all of the issues. Following gfyoung's suggestion, I cleaned up the rest of it. So it should now pass. |
@jbrockmendel yep looks good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jreback : if this looks good to you, we can just merge this.
no merging until after the release (except specifically tagged pr) |
even though this looks fine, can you rebase (as just added another cython module, indexing.pyx), maybe fine, but just want this to run and go green again. |
thanks! |
Entirely aesthetic.
git diff upstream/master -u -- "*.py" | flake8 --diff