You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirming that I can reproduce this as well. Also given the adoption of black as a standard formatting tool in Python, I wonder if it makes sense to still suggest a further indentation for telling apart the body of the with from its arguments, given that black does not do that.
With this block:
pylint wants me to further indent the first lines (marked with
# error
), presumably to tell them apart from the body of thewith:
.However, it does not want me to further indent the other two blocks, which seems inconsistent.
This appeared with pylint/astroid 2.0, it seems in earlier versions it didn't want to further indent things at all.
The text was updated successfully, but these errors were encountered: