Skip to content

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

@braiam

Description

@braiam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions