Skip to content

Commit 1e48e90

Browse files
committed
reorder pre-commit config
Committed via https://github.com/asottile/all-repos
1 parent 48c60be commit 1e48e90

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,40 @@ repos:
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
7-
- id: check-docstring-first
8-
- id: check-json
9-
- id: check-added-large-files
107
- id: check-yaml
118
- id: debug-statements
12-
- id: name-tests-test
139
- id: double-quote-string-fixer
10+
- id: name-tests-test
1411
- id: requirements-txt-fixer
15-
- repo: https://github.com/PyCQA/flake8
16-
rev: 4.0.1
17-
hooks:
18-
- id: flake8
19-
additional_dependencies: [flake8-typing-imports==1.12.0]
20-
- repo: https://github.com/pre-commit/mirrors-autopep8
21-
rev: v1.6.0
12+
- repo: https://github.com/asottile/setup-cfg-fmt
13+
rev: v1.20.0
2214
hooks:
23-
- id: autopep8
15+
- id: setup-cfg-fmt
2416
- repo: https://github.com/asottile/reorder_python_imports
2517
rev: v3.0.1
2618
hooks:
2719
- id: reorder-python-imports
2820
args: [--py37-plus, --add-import, 'from __future__ import annotations']
21+
- repo: https://github.com/asottile/add-trailing-comma
22+
rev: v2.2.1
23+
hooks:
24+
- id: add-trailing-comma
25+
args: [--py36-plus]
2926
- repo: https://github.com/asottile/pyupgrade
3027
rev: v2.31.1
3128
hooks:
3229
- id: pyupgrade
3330
args: [--py37-plus]
34-
- repo: https://github.com/asottile/add-trailing-comma
35-
rev: v2.2.1
31+
- repo: https://github.com/pre-commit/mirrors-autopep8
32+
rev: v1.6.0
3633
hooks:
37-
- id: add-trailing-comma
38-
args: [--py36-plus]
39-
- repo: https://github.com/asottile/setup-cfg-fmt
40-
rev: v1.20.0
34+
- id: autopep8
35+
- repo: https://github.com/PyCQA/flake8
36+
rev: 4.0.1
4137
hooks:
42-
- id: setup-cfg-fmt
38+
- id: flake8
4339
- repo: https://github.com/pre-commit/mirrors-mypy
44-
rev: v0.941
40+
rev: v0.942
4541
hooks:
4642
- id: mypy
4743
additional_dependencies: [types-all]

0 commit comments

Comments
 (0)