Skip to content

Linting: Disable W0311: [bad-indentation] #637

@MarkGreeny

Description

@MarkGreeny

Hi, I have tried for some time now, to disable the above warning.

~/.config/pycodestyle

[pycodestyle]
ignore = E111,E114
[pep8]
indent-size=2

Please note that adding

[pycodestyle]
ignore = E111,E114,W0311
[pep8]
indent-size=2

changes nothing (or W311).

Could someone please inform me what I am doing wrong? Where should this be configrured? I am using 2 spaces as indentation, and I get this warning at every line.

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions