-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
"Wrong Hanging Indentation" false positive? #232
Labels
Comments
Original comment by Steven Myint (BitBucket: myint, GitHub: @myint?): More examples of okay style: https://github.com/jcrocholl/pep8/blob/master/testsuite/E12not.py And examples of actual bad continuations: https://github.com/jcrocholl/pep8/blob/master/testsuite/E12.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally reported by: Sean Wallitsch (BitBucket: shidarin, GitHub: @shidarin?)
Since 1.2.1, pylint no longer lets the following be an acceptable line continuation:
It's throwing C0330(bad-continuation) with the note "Wrong Hanging indentation." Seeming to prefer the following:
Which doesn't seem right. This looks like it was introduced in this commit, and we noticed it when the new version was being used on landscape.io (see github issue here). Is this a bug?
The text was updated successfully, but these errors were encountered: