Skip to content
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

Rule E129 suggestion leads to overindentation if logical operator is at the start of the line #45

Open
braiam opened this issue Dec 15, 2021 · 0 comments

Comments

@braiam
Copy link

braiam commented Dec 15, 2021

The following fails with E129:

if (something > 0 and another != 3
    and this_one != 0):
    do_thing()

If you follow the documentation that indentate the second line, you will get overindenation. I don't know if it should change the documentation, or a new rule created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant