-
-
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
bad-continuation false alarm and failure to disable #2304
Comments
Thanks for the report! Yes, it seems that it wants the indentation to be one level shorter, which I agree does not make sense here. |
I also ran into the problem that In
Code to check: print(
1,
2,
3
) An interesting effect is that the spaces set by |
@mthuurne I fixed failure to disable |
Thanks! |
|
I agree @Pierre-Sassoulas |
Steps to reproduce
I have this code piece:
I think it wants the hanging "}" brace to align one level shorter, which is false.
With that false alarm in place, --disable=bad-continuation on the command line has no effect. I cannot disable the warning until the bug is fixed.
Current behavior
Reports:
Expected behavior
No report, and allow --disable on that error.
pylint --version output
c/Python36_32/python -m pylint --version
main.py 2.0.0
astroid 2.0.0.dev4
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)]
The text was updated successfully, but these errors were encountered: