Skip to content

W0311: Bad indentation. Found 4 spaces, expected 2 (bad-indentation) #2749

@polyglotm

Description

@polyglotm

Question

what does that mean??
it should be oriented 4.

....def __init__(self):
........super().__init__()

this is real code. but lint return these things

W0311: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
W0311: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)

for now, I just disable W0311. but I really do not understand. why is that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs reproduction 🔍Need a way to reproduce it locally on a maintainer's machine

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions