Skip to content

Commit 8100485

Browse files
committed
officially deprecate the flake8 hook
1 parent 51e0431 commit 8100485

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
description: 'Add # -*- coding: utf-8 -*- to the top of python files'
139139
types: [python]
140140
- id: flake8
141-
name: Flake8
141+
name: Flake8 (deprecated, use gitlab.com/pycqa/flake8)
142142
description: This hook runs flake8.
143143
entry: flake8
144144
language: python

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ Sort the lines in specified files (defaults to alphabetical).
107107
You must provide list of target files as input to it.
108108
Note that this hook WILL remove blank lines and does NOT respect any comments.
109109

110-
#### `flake8`
111-
Run flake8 on your python files.
112-
113110
#### `forbid-new-submodules`
114111
Prevent addition of new git submodules.
115112

@@ -174,6 +171,7 @@ Trims trailing whitespace.
174171
- `autopep8-wrapper`: instead use
175172
[mirrors-autopep8](https://github.com/pre-commit/mirrors-autopep8)
176173
- `pyflakes`: instead use `flake8`
174+
- `flake8`: instead use [upstream flake8](https://gitlab.com/pycqa/flake8)
177175

178176
### As a standalone package
179177

0 commit comments

Comments
 (0)