-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Unignore even more style checks #1579
Conversation
1037788
to
2f1baea
Compare
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.
I'm not 100% on board with the multi-lines if change, but otherwise this looks pretty good.
d9704a7
to
d2847a8
Compare
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.
🎉
@half-duplex aw, now there are conflict to fix first. :( |
3d2b41c
to
6a2a813
Compare
Had to make the same changes in some new code after the rebase |
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.
Just a question, because I don't remember having an issue with single/double quote string before.
204c623
to
853ce79
Compare
Of course merging #1578 caused conflicts with this PR, because why wouldn't it? 😑 @half-duplex, would you fix this one up for me over the weekend? 😸 |
Oh, that's a very easy conflict to fix! :) |
Preparing for flake8 3.7
Co-authored-by: Florian Strzelecki <florian.strzelecki@gmail.com>
853ce79
to
3d6f4cd
Compare
Tested merging this to a local branch, and I'm gonna merge it before anything breaks the newly fixed checks. I want better code style just like everyone else! |
Me from the future would like to ask himself from the past why he didn't insist on reordering things to prevent a commit with failed tests from being merged into |
Unignores (or updates to add) and fixes the following:
E117 over-indented
E127 continuation line over-indented for visual indent
E128 continuation line under-indented for visual indent
F632 use ==/!= to compare str, bytes, and int literals
With the above fixed, flake8 3.7.7 finds no errors, so the 3.6 pin is replaced with 3.7
checkstyle.sh
's py3-unsafeunicode()
detection seemed to have some inverted logic and was reporting files containingunicode = str
as potentially unsafe, instead of only files not containing that.