Skip to content

Commit dc4cb09

Browse files
OCA-git-botsbidoul
authored andcommitted
[UPD] pin flake8 version [ci skip]
1 parent bdf0e91 commit dc4cb09

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ repos:
5050
# exclude autogenerated files
5151
exclude: /README\.rst$|\.pot?$
5252
- id: debug-statements
53-
- id: flake8
54-
name: flake8 except __init__.py
55-
exclude: /__init__\.py$
56-
additional_dependencies: ["flake8-bugbear==19.8.0"]
57-
- id: flake8
58-
name: flake8 only __init__.py
59-
args: ["--extend-ignore=F401"] # ignore unused imports in __init__.py
60-
files: /__init__\.py$
61-
additional_dependencies: ["flake8-bugbear==19.8.0"]
6253
- id: fix-encoding-pragma
6354
args: ["--remove"]
6455
- id: check-case-conflict
@@ -71,6 +62,18 @@ repos:
7162
- id: check-xml
7263
- id: mixed-line-ending
7364
args: ["--fix=lf"]
65+
- repo: https://gitlab.com/pycqa/flake8
66+
rev: 3.7.9
67+
hooks:
68+
- id: flake8
69+
name: flake8 except __init__.py
70+
exclude: /__init__\.py$
71+
additional_dependencies: ["flake8-bugbear==19.8.0"]
72+
- id: flake8
73+
name: flake8 only __init__.py
74+
args: ["--extend-ignore=F401"] # ignore unused imports in __init__.py
75+
files: /__init__\.py$
76+
additional_dependencies: ["flake8-bugbear==19.8.0"]
7477
- repo: https://github.com/pre-commit/mirrors-pylint
7578
rev: v2.3.1
7679
hooks:

0 commit comments

Comments
 (0)