Skip to content

Commit

Permalink
Merge pull request #597 from pre-commit/remove-deprecated
Browse files Browse the repository at this point in the history
remove deprecated autopep8-wrapper, flake8, pyflakes
  • Loading branch information
asottile committed May 11, 2021
2 parents 868784a + 1995abf commit 11a996e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
21 changes: 0 additions & 21 deletions .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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 0 additions & 4 deletions README.md
Expand Up @@ -193,10 +193,6 @@ Trims trailing whitespace.

### 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
Expand Down

0 comments on commit 11a996e

Please sign in to comment.