Skip to content

Commit

Permalink
remove deprecated autopep8-wrapper, flake8, pyflakes
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed May 11, 2021
1 parent 75ade3b commit 1995abf
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
Original file line number Diff line number Diff line change
@@ -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 @@ -143,13 +136,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 @@ -173,13 +159,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
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,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 1995abf

Please sign in to comment.