Skip to content

New flake8 release is flaging non-selected errors #605

Closed

Description

@asottile

In GitLab by @cclauss on Jul 27, 2017, 21:19

New flake8 release flags non-selected errors. Below on Travis, I select 5 different errors but the new release of flake8 is flagging F401 errors which are not on the selected list. This did not happen in previous flake8 releases.

flake8 testing of https://github.com/jachris/cook on Python 3.6.2

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./cook/file.py:2:1: F401 'os' imported but unused
import os
^

Activity

  1. asottile commented on Apr 3, 2021

    @asottile
    MemberAuthor

    In GitLab by @sigmavirus24 on Jul 28, 2017, 04:19

    mentioned in merge request !195

  2. asottile commented on Apr 3, 2021

    @asottile
    MemberAuthor

    In GitLab by @sigmavirus24 on Jul 28, 2017, 04:21

    closed via commit a44a09f

  3. asottile commented on Apr 3, 2021

    @asottile
    MemberAuthor

    In GitLab by @sigmavirus24 on Jul 28, 2017, 04:21

    closed via commit a4f2135

  4. asottile commented on Apr 3, 2021

    @asottile
    MemberAuthor

    In GitLab by @sigmavirus24 on Jul 28, 2017, 04:21

    closed via merge request !195

  5. asottile commented on Apr 3, 2021

    @asottile
    MemberAuthor

    In GitLab by @sigmavirus24 on Jul 28, 2017, 05:00

    3.4.1 was released to fix this. Thanks for the report.

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