Skip to content

Eventual deprecation of flake8 #344

@asottile

Description

@asottile

More of a heads up than anything -- not that many will see this 😆

Now that I've added a .pre-commit-hooks.yaml to the flake8 repository, we'll eventually be deprecating the flake8 hook defined here.

The rough ordering for that:

  • flake8 makes its next tagged release (probably 3.7.0) -- I'm not sure on the timeline for this yet, we have to fix some new parsing of per_file_ignores and then probably will wait until pycodestyle / pyflakes make a new release(s) and then go go go?
  • the flake8 hook will be "soft" deprecated. Probably nothing more than some messaging in the README. This will probably be pre-commit-hooks==2.X where X is some minor release greater than the current release
  • Further after, (pre-commit-hooks==3) flake8 will be removed as a dependency in this repository and the flake8 executable will be replaced with a stub similar to the one added when autopep8-wrapper was deprecated

The rationale for this change:

  • Direct access to the flake8 git repository better funnels people to raise issues in the correct place
  • It is easier to pin the exact version of flake8 you are using (and leverage pre-commit autoupdate to get to a newer version)
  • pre-commit-hooks is no longer plagued by spurious VersionConflict errors

This issue is mostly a FYI / tracking issue for those events

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