Skip to content

Commit a87946d

Browse files
authored
Update pre-commit hooks to latest versions
1 parent 27ab1dc commit a87946d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.pre-commit-config.yaml

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
exclude: ^(tests/data/)
22
repos:
3+
- repo: https://github.com/psf/black
4+
rev: 19.10b0
5+
hooks:
6+
- id: black
7+
args: [-S, --line-length=79, --safe, --quiet]
38
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v2.4.0
9+
rev: v3.1.0
510
hooks:
611
- id: trailing-whitespace
712
- id: end-of-file-fixer
@@ -11,28 +16,23 @@ repos:
1116
- id: name-tests-test
1217
- id: requirements-txt-fixer
1318
- id: double-quote-string-fixer
19+
- repo: https://gitlab.com/pycqa/flake8
20+
rev: 3.8.2
21+
hooks:
22+
- id: flake8
23+
- repo: https://github.com/timothycrosley/isort
24+
rev: 4.3.21
25+
hooks:
26+
- id: isort
1427
- repo: https://github.com/asottile/pyupgrade
15-
rev: v1.25.1
28+
rev: v2.5.0
1629
hooks:
1730
- id: pyupgrade
1831
- repo: https://github.com/asottile/add-trailing-comma
19-
rev: v1.5.0
32+
rev: v2.0.1
2033
hooks:
2134
- id: add-trailing-comma
22-
- repo: https://github.com/timothycrosley/isort
23-
rev: 4.3.21
24-
hooks:
25-
- id: isort
2635
- repo: https://github.com/pre-commit/mirrors-autopep8
27-
rev: v1.4.4
36+
rev: v1.5.3
2837
hooks:
2938
- id: autopep8
30-
- repo: https://github.com/psf/black
31-
rev: 19.10b0
32-
hooks:
33-
- id: black
34-
args: [-S, --line-length=79, --safe, --quiet]
35-
- repo: https://gitlab.com/pycqa/flake8
36-
rev: 3.7.9
37-
hooks:
38-
- id: flake8

0 commit comments

Comments
 (0)