2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
3
rev : v4.0.1
4
4
hooks :
5
- - id : check-ast
6
5
- id : check-builtin-literals
7
6
- id : check-docstring-first
8
- - id : check-merge-conflict
9
7
- id : check-yaml
10
8
- id : check-toml
11
9
- id : debug-statements
12
10
- id : end-of-file-fixer
13
11
- id : trailing-whitespace
12
+ - id : check-case-conflict
13
+ - id : check-merge-conflict
14
+ - repo : https://github.com/asottile/add-trailing-comma
15
+ rev : v2.2.0
16
+ hooks :
17
+ - id : add-trailing-comma
18
+ args : [--py36-plus]
14
19
- repo : https://github.com/asottile/pyupgrade
15
- rev : v2.29.0
20
+ rev : v2.29.1
16
21
hooks :
17
22
- id : pyupgrade
18
23
args : ["--py36-plus"]
19
24
exclude : " ^(src/tox/util/pep517/backend.py|tests/demo_pkg_inline/build.py)$"
20
25
- id : pyupgrade
21
26
files : " ^(src/tox/util/pep517/backend.py|tests/demo_pkg_inline/build.py)$"
22
- - repo : https://github.com/PyCQA/isort
23
- rev : 5 .9.3
27
+ - repo : https://github.com/pre-commit/pygrep-hooks
28
+ rev : v1 .9.0
24
29
hooks :
25
- - id : isort
30
+ - id : rst-backticks
26
31
- repo : https://github.com/psf/black
27
- rev : 21.9b0
32
+ rev : 21.10b0
28
33
hooks :
29
34
- id : black
30
- args :
31
- - --safe
35
+ args : [--safe]
36
+ - repo : https://github.com/PyCQA/isort
37
+ rev : 5.10.1
38
+ hooks :
39
+ - id : isort
40
+ - repo : https://github.com/pre-commit/mirrors-prettier
41
+ rev : " v2.4.1"
42
+ hooks :
43
+ - id : prettier
44
+ additional_dependencies :
45
+
46
+
47
+ args : ["--print-width=120", "--prose-wrap=always"]
48
+ - repo : https://github.com/asottile/blacken-docs
49
+ rev : v1.11.0
50
+ hooks :
51
+ - id : blacken-docs
52
+ additional_dependencies : [black==21.10b0]
32
53
- repo : https://github.com/asottile/setup-cfg-fmt
33
- rev : v1.18 .0
54
+ rev : v1.19 .0
34
55
hooks :
35
56
- id : setup-cfg-fmt
36
- args :
37
- - --min-py3-version
38
- - " 3.6"
39
- - --max-py-version
40
- - " 3.10"
41
57
- repo : https://github.com/tox-dev/tox-ini-fmt
42
58
rev : " 0.5.1"
43
59
hooks :
44
60
- id : tox-ini-fmt
45
- args : [ "-p", "fix" ]
46
- - repo : https://github.com/asottile/blacken-docs
47
- rev : v1.11.0
61
+ args : ["-p", "fix"]
62
+ - repo : https://github.com/PyCQA/flake8
63
+ rev : " 4.0.1 "
48
64
hooks :
49
- - id : blacken-docs
65
+ - id : flake8
50
66
additional_dependencies :
51
- - black==21.8b0
52
- - repo : https://github.com/pre-commit/pygrep-hooks
53
- rev : v1.9.0
67
+ - flake8-bugbear==21.9.2
68
+ - flake8-comprehensions==3.7
69
+ - flake8-pytest-style==1.5
70
+ - flake8-spellcheck==0.24
71
+ - flake8-unused-arguments==0.0.6
72
+ - flake8-noqa==1.2
73
+ - pep8-naming==0.12.1
74
+ - repo : https://github.com/igorshubovych/markdownlint-cli
75
+ rev : v0.29.0
54
76
hooks :
55
- - id : rst-backticks
77
+ - id : markdownlint
56
78
- repo : local
57
79
hooks :
58
80
- id : changelogs-rst
@@ -61,15 +83,7 @@ repos:
61
83
entry : " changelog files must be named ####.(feature|bugfix|doc|removal|misc).rst"
62
84
exclude : ^docs/changelog/(\d+\.(feature|bugfix|doc|removal|misc).rst|README.rst|template.jinja2)
63
85
files : ^docs/changelog/
64
- - repo : https://github.com/PyCQA/flake8
65
- rev : 4.0.1
86
+ - repo : meta
66
87
hooks :
67
- - id : flake8
68
- additional_dependencies :
69
- - flake8-bugbear==21.9.2
70
- - flake8-comprehensions==3.7
71
- - flake8-pytest-style==1.5
72
- - flake8-spellcheck==0.24
73
- - flake8-unused-arguments==0.0.6
74
- - flake8-noqa==1.2
75
- - pep8-naming==0.12.1
88
+ - id : check-hooks-apply
89
+ - id : check-useless-excludes
0 commit comments