Skip to content

Commit 0adeeef

Browse files
authored
Merge pull request #8227 from pradyunsg/linter-updates
2 parents 9a0a09e + cb3f7ba commit 0adeeef

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: 'src/pip/_vendor/'
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v2.3.0
5+
rev: v2.5.0
66
hooks:
77
- id: check-builtin-literals
88
- id: check-added-large-files
@@ -12,31 +12,35 @@ repos:
1212
- id: debug-statements
1313
- id: end-of-file-fixer
1414
exclude: WHEEL
15-
- id: flake8
16-
exclude: tests/data
1715
- id: forbid-new-submodules
1816
- id: trailing-whitespace
1917
exclude: .patch
2018

19+
- repo: https://gitlab.com/pycqa/flake8
20+
rev: 3.7.9
21+
hooks:
22+
- id: flake8
23+
exclude: tests/data
24+
2125
- repo: https://github.com/timothycrosley/isort
2226
rev: 4.3.21
2327
hooks:
2428
- id: isort
2529
files: \.py$
2630

2731
- repo: https://github.com/pre-commit/mirrors-mypy
28-
rev: v0.750
32+
rev: v0.760
2933
hooks:
3034
- id: mypy
3135
exclude: docs|tests
32-
args: []
36+
args: ["--pretty"]
3337
- id: mypy
34-
name: mypy, for Py2
38+
name: mypy, for Python 2
3539
exclude: noxfile.py|tools/automation/release|docs|tests
36-
args: ["-2"]
40+
args: ["--pretty", "-2"]
3741

3842
- repo: https://github.com/pre-commit/pygrep-hooks
39-
rev: v1.4.1
43+
rev: v1.5.1
4044
hooks:
4145
- id: python-no-log-warn
4246
- id: python-no-eval
@@ -48,6 +52,6 @@ repos:
4852
exclude: NEWS.rst
4953

5054
- repo: https://github.com/mgedmin/check-manifest
51-
rev: '0.39'
55+
rev: '0.42'
5256
hooks:
5357
- id: check-manifest

0 commit comments

Comments
 (0)