Skip to content

Commit

Permalink
officially deprecate the flake8 hook
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Feb 4, 2020
1 parent 51e0431 commit 8100485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ Sort the lines in specified files (defaults to alphabetical).
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.

Expand Down Expand Up @@ -174,6 +171,7 @@ Trims trailing whitespace.
- `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

Expand Down

0 comments on commit 8100485

Please sign in to comment.