Skip to content

Commit 11a996e

Browse files
authored
Merge pull request #597 from pre-commit/remove-deprecated
remove deprecated autopep8-wrapper, flake8, pyflakes
2 parents 868784a + 1995abf commit 11a996e

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

.pre-commit-hooks.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
- id: autopep8-wrapper
2-
name: autopep8 wrapper (removed)
3-
description: (removed) use pre-commit/mirrors-autopep8 instead.
4-
entry: pre-commit-hooks-removed autopep8-wrapper autopep8 https://github.com/pre-commit/mirrors-autopep8
5-
language: python
6-
always_run: true
7-
pass_filenames: false
81
- id: check-added-large-files
92
name: Check for added large files
103
description: Prevent giant files from being committed
@@ -156,13 +149,6 @@
156149
entry: fix-encoding-pragma
157150
description: 'Add # -*- coding: utf-8 -*- to the top of python files'
158151
types: [python]
159-
- id: flake8
160-
name: Flake8 (removed)
161-
description: (removed) use gitlab.com/pycqa/flake8 instead.
162-
entry: pre-commit-hooks-removed flake8 flake8 https://gitlab.com/pycqa/flake8
163-
language: python
164-
always_run: true
165-
pass_filenames: false
166152
- id: forbid-new-submodules
167153
name: Forbid new submodules
168154
language: python
@@ -186,13 +172,6 @@
186172
language: python
187173
pass_filenames: false
188174
always_run: true
189-
- id: pyflakes
190-
name: Pyflakes (removed)
191-
description: (removed) use gitlab.com/pycqa/flake8 instead.
192-
entry: pre-commit-hooks-removed pyflakes flake8 https://gitlab.com/pycqa/flake8
193-
language: python
194-
always_run: true
195-
pass_filenames: false
196175
- id: requirements-txt-fixer
197176
name: Fix requirements.txt
198177
description: Sorts entries in requirements.txt

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,6 @@ Trims trailing whitespace.
193193

194194
### Deprecated / replaced hooks
195195

196-
- `autopep8-wrapper`: instead use
197-
[mirrors-autopep8](https://github.com/pre-commit/mirrors-autopep8)
198-
- `pyflakes`: instead use `flake8`
199-
- `flake8`: instead use [upstream flake8](https://gitlab.com/pycqa/flake8)
200196
- `check-byte-order-marker`: instead use fix-byte-order-marker
201197

202198
### As a standalone package

0 commit comments

Comments
 (0)