officially deprecate the flake8 hook
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 7a3b380..666a245 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml
@@ -138,7 +138,7 @@ description: 'Add # -*- coding: utf-8 -*- to the top of python files' types: [python] - id: flake8 - name: Flake8 + name: Flake8 (deprecated, use gitlab.com/pycqa/flake8) description: This hook runs flake8. entry: flake8 language: python
diff --git a/README.md b/README.md index 30f712d..ee62f2d 100644 --- a/README.md +++ b/README.md
@@ -107,9 +107,6 @@ You must provide list of target files as input to it. Note that this hook WILL remove blank lines and does NOT respect any comments. -#### `flake8` -Run flake8 on your python files. - #### `forbid-new-submodules` Prevent addition of new git submodules. @@ -174,6 +171,7 @@ - `autopep8-wrapper`: instead use [mirrors-autopep8](https://github.com/pre-commit/mirrors-autopep8) - `pyflakes`: instead use `flake8` +- `flake8`: instead use [upstream flake8](https://gitlab.com/pycqa/flake8) ### As a standalone package