Skip to content

Support # flake8: noqa: F401 #5617

@charliermarsh

Description

@charliermarsh

Flake8 treats this equivalently to # flake8: noqa -- that is, it turns off all rules for the entire file. As of #5571, we emit a warning but don't respect it at all. I think better would be to just support it in the way the user expects (i.e., turn off F401 for the entire file). It deviates from Flake8, but #5571 deviates from Flake8 too, in a way that's less useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    suppressionRelated to supression of violations e.g. noqa

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions