Skip to content

flake8 --select=E901 does not work [REPLACEMENT ISSUE] #517

Closed

Description

@asottile

The original issue

Id: 162
Title: flake8 --select=E901 does not work

could not be created.
This is a dummy issue, replacing the original one. It contains everything but the original issue description. In case the gitlab repository is still existing, visit the following link to show the original issue:

TODO

Activity

  1. asottile commented on Apr 3, 2021

    @asottile
    MemberAuthor

    In GitLab by @sigmavirus24 on Jul 7, 2016, 04:25

    This has been reported before. It happens because in Flake8 2.x pycodestyle is the only thing that raises E901. Further, it only raises E901 when it cannot ast.compile a file which it only tries to do when AST checks are being run, e.g., F checks. This is why you see nothing.

    We can't fix this in Flake8 and pycodestyle likely doesn't want to fix it. The good news is that this is plausible with Flake8 3.0 and should just work there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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