@@ -24,35 +24,35 @@ repos:
24
24
language : system
25
25
always_run : true
26
26
pass_filenames : false
27
- stages : [commit]
27
+ stages : [pre- commit]
28
28
- id : autofix-docs
29
29
name : Autofix ReST documentation from docstrings and TOML
30
30
entry : poetry run python3 docs/autofix_docs.py
31
31
language : system
32
32
always_run : true
33
33
pass_filenames : false
34
34
types : [python, toml]
35
- stages : [commit]
35
+ stages : [pre- commit]
36
36
- repo : https://github.com/pre-commit/pre-commit-hooks
37
- rev : v4.6 .0
37
+ rev : v5.0 .0
38
38
hooks :
39
39
- id : debug-statements
40
40
- id : end-of-file-fixer
41
41
- id : trailing-whitespace
42
42
- repo : https://github.com/google/keep-sorted
43
- rev : v0.5.0
43
+ rev : v0.5.1
44
44
hooks :
45
45
- id : keep-sorted
46
46
- repo : https://github.com/pappasam/toml-sort
47
- rev : v0.23.1
47
+ rev : v0.24.2
48
48
hooks :
49
49
- id : toml-sort-fix
50
50
# Don't sort certain TOML files:
51
51
# - style-related files: used to generate YAML that might depend on the order
52
52
# - poetry.lock: auto-generated file
53
53
exclude : (ideas/|resources/|tests/|poetry.lock)
54
54
- repo : https://github.com/astral-sh/ruff-pre-commit
55
- rev : v0.6.8
55
+ rev : v0.9.1
56
56
hooks :
57
57
- id : ruff
58
58
args : [--fix]
@@ -62,16 +62,16 @@ repos:
62
62
hooks :
63
63
- id : pydocstringformatter
64
64
- repo : https://github.com/aio-libs/sort-all # TODO: style(pre-commit): add sort-all
65
- rev : v1.2 .0
65
+ rev : v1.3 .0
66
66
hooks :
67
67
- id : sort-all
68
68
- repo : https://github.com/psf/black
69
- rev : 24.8 .0
69
+ rev : 24.10 .0
70
70
hooks :
71
71
- id : black
72
72
args : [--safe, --quiet]
73
73
- repo : https://github.com/asottile/blacken-docs
74
- rev : 1.18.0
74
+ rev : 1.19.1
75
75
hooks :
76
76
- id : blacken-docs
77
77
additional_dependencies : [black==23.7.0]
84
84
rev : v4.0.0-alpha.8
85
85
hooks :
86
86
- id : prettier
87
- stages : [commit]
87
+ stages : [pre- commit]
88
88
- repo : https://github.com/pre-commit/mirrors-mypy
89
- rev : v1.11.2
89
+ rev : v1.14.1
90
90
hooks :
91
91
- id : mypy
92
92
# https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-show-error-codes
@@ -131,7 +131,7 @@ repos:
131
131
# https://docs.openstack.org/bashate/latest/man/bashate.html#options
132
132
args : [-i, E006]
133
133
- repo : https://github.com/commitizen-tools/commitizen
134
- rev : v3.29.1
134
+ rev : v4.1.0
135
135
hooks :
136
136
- id : commitizen
137
137
stages : [commit-msg]
0 commit comments