Skip to content

flake8 5.0 seemingly deprecated .flake8 config without writing it in the changelog #1630

@eivindjahren

Description

@eivindjahren

how did you install flake8?

pip install flake8

unmodified output of flake8 --bug-report

{
  "platform": {
    "python_implementation": "CPython",
    "python_version": "3.10.4",
    "system": "Linux"
  },
  "plugins": [
    {
      "plugin": "mccabe",
      "version": "0.7.0"
    },
    {
      "plugin": "pycodestyle",
      "version": "2.9.0"
    },
    {
      "plugin": "pyflakes",
      "version": "2.5.0"
    }
  ],
  "version": "5.0.0"
}

describe the problem

After upgrading to flake8 5.0, it now silently ignores my .flake8 file. I had not expected this as it is not described in the changelog. Everything works fine once the flake8 config is moved to setup.cfg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions