Skip to content

Commit 518df8f

Browse files
authored
Merge pull request #235 from asottile/all-repos_autofix_reorder-pre-commit-config
reorder pre-commit config
2 parents 8ba42a1 + 616ce88 commit 518df8f

1 file changed

Lines changed: 15 additions & 21 deletions

File tree

.pre-commit-config.yaml

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,40 @@ repos:
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
7-
- id: check-docstring-first
87
- id: check-yaml
98
- id: debug-statements
109
- id: double-quote-string-fixer
1110
- id: name-tests-test
1211
- id: requirements-txt-fixer
13-
- repo: https://github.com/PyCQA/flake8
14-
rev: 4.0.1
15-
hooks:
16-
- id: flake8
17-
additional_dependencies: ['flake8-typing-imports==1.12.0']
18-
- repo: https://github.com/pre-commit/mirrors-autopep8
19-
rev: v1.6.0
12+
- repo: https://github.com/asottile/setup-cfg-fmt
13+
rev: v1.20.0
2014
hooks:
21-
- id: autopep8
15+
- id: setup-cfg-fmt
2216
- repo: https://github.com/asottile/reorder_python_imports
2317
rev: v3.0.1
2418
hooks:
2519
- id: reorder-python-imports
2620
args: [--py37-plus, --add-import, 'from __future__ import annotations']
27-
- repo: https://github.com/asottile/pyupgrade
28-
rev: v2.31.1
29-
hooks:
30-
- id: pyupgrade
31-
args: [--py37-plus]
3221
- repo: https://github.com/asottile/add-trailing-comma
3322
rev: v2.2.1
3423
hooks:
3524
- id: add-trailing-comma
3625
args: [--py36-plus]
37-
- repo: https://github.com/asottile/setup-cfg-fmt
38-
rev: v1.20.0
26+
- repo: https://github.com/asottile/pyupgrade
27+
rev: v2.31.1
3928
hooks:
40-
- id: setup-cfg-fmt
41-
- repo: https://github.com/pre-commit/pygrep-hooks
42-
rev: v1.9.0
29+
- id: pyupgrade
30+
args: [--py37-plus]
31+
- repo: https://github.com/pre-commit/mirrors-autopep8
32+
rev: v1.6.0
4333
hooks:
44-
- id: python-use-type-annotations
34+
- id: autopep8
35+
- repo: https://github.com/PyCQA/flake8
36+
rev: 4.0.1
37+
hooks:
38+
- id: flake8
4539
- repo: https://github.com/pre-commit/mirrors-mypy
46-
rev: v0.941
40+
rev: v0.942
4741
hooks:
4842
- id: mypy
4943
additional_dependencies: [types-all]

0 commit comments

Comments
 (0)