Merge pull request #597 from pre-commit/remove-deprecated
remove deprecated autopep8-wrapper, flake8, pyflakes
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
index 0e089bc..91dbdf0 100644
--- a/.pre-commit-hooks.yaml
+++ b/.pre-commit-hooks.yaml
@@ -1,10 +1,3 @@
-- id: autopep8-wrapper
- name: autopep8 wrapper (removed)
- description: (removed) use pre-commit/mirrors-autopep8 instead.
- entry: pre-commit-hooks-removed autopep8-wrapper autopep8 https://github.com/pre-commit/mirrors-autopep8
- language: python
- always_run: true
- pass_filenames: false
- id: check-added-large-files
name: Check for added large files
description: Prevent giant files from being committed
@@ -156,13 +149,6 @@
entry: fix-encoding-pragma
description: 'Add # -*- coding: utf-8 -*- to the top of python files'
types: [python]
-- id: flake8
- name: Flake8 (removed)
- description: (removed) use gitlab.com/pycqa/flake8 instead.
- entry: pre-commit-hooks-removed flake8 flake8 https://gitlab.com/pycqa/flake8
- language: python
- always_run: true
- pass_filenames: false
- id: forbid-new-submodules
name: Forbid new submodules
language: python
@@ -186,13 +172,6 @@
language: python
pass_filenames: false
always_run: true
-- id: pyflakes
- name: Pyflakes (removed)
- description: (removed) use gitlab.com/pycqa/flake8 instead.
- entry: pre-commit-hooks-removed pyflakes flake8 https://gitlab.com/pycqa/flake8
- language: python
- always_run: true
- pass_filenames: false
- id: requirements-txt-fixer
name: Fix requirements.txt
description: Sorts entries in requirements.txt
diff --git a/README.md b/README.md
index d61d457..5a6ddfe 100644
--- a/README.md
+++ b/README.md
@@ -193,10 +193,6 @@
### Deprecated / replaced hooks
-- `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)
- `check-byte-order-marker`: instead use fix-byte-order-marker
### As a standalone package