-
Notifications
You must be signed in to change notification settings - Fork 755
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
W503 enforces breaking after binary operators but PEP-8 appears to disagree #513
Comments
Exactly. This was discussed in #498 and has been addressed in two parts. In the future, please search open and closed issues before hand. ;-) |
I initially searched for "W503", but that's found nothing relevant. After filing the ticket, I kept searching for binary operator and that came up with the other results. If nothing else this will be a useful result for others who do a similar search. |
Also #504 was opened about this with an even less searchable title and body. ;-) |
Straight from PEP-8:
Considering that the last paragraph allows breaking before or after binary operators, it seems like this should be handled similar to the
--hang-indent
option.The text was updated successfully, but these errors were encountered: