1
1
# See https://pre-commit.com for more information
2
2
# See https://pre-commit.com/hooks.html for more hooks
3
3
exclude : " CHANGELOG.md|.copier-answers.yml"
4
- default_stages : [commit]
4
+ default_stages : [pre- commit]
5
5
6
6
ci :
7
7
autofix_commit_msg : " chore(pre-commit.ci): auto fixes"
8
8
autoupdate_commit_msg : " chore(pre-commit.ci): pre-commit autoupdate"
9
9
10
10
repos :
11
11
- repo : https://github.com/commitizen-tools/commitizen
12
- rev : v3.30.1
12
+ rev : v4.8.2
13
13
hooks :
14
14
- id : commitizen
15
15
stages : [commit-msg]
16
16
- repo : https://github.com/pre-commit/pre-commit-hooks
17
- rev : v4.6 .0
17
+ rev : v5.0 .0
18
18
hooks :
19
19
- id : debug-statements
20
20
- id : check-builtin-literals
@@ -28,16 +28,16 @@ repos:
28
28
- id : end-of-file-fixer
29
29
- id : trailing-whitespace
30
30
- repo : https://github.com/python-poetry/poetry
31
- rev : 1.8.5
31
+ rev : 2.1.3
32
32
hooks :
33
33
- id : poetry-check
34
34
- repo : https://github.com/pre-commit/mirrors-prettier
35
- rev : v2.7.1
35
+ rev : v4.0.0-alpha.8
36
36
hooks :
37
37
- id : prettier
38
38
args : ["--tab-width", "2"]
39
39
- repo : https://github.com/asottile/pyupgrade
40
- rev : v3.19.1
40
+ rev : v3.20.0
41
41
hooks :
42
42
- id : pyupgrade
43
43
args : [--py37-plus]
@@ -46,28 +46,28 @@ repos:
46
46
hooks :
47
47
- id : autoflake
48
48
- repo : https://github.com/PyCQA/isort
49
- rev : 5.13.2
49
+ rev : 6.0.1
50
50
hooks :
51
51
- id : isort
52
52
- repo : https://github.com/psf/black
53
- rev : 23.12.1
53
+ rev : 25.1.0
54
54
hooks :
55
55
- id : black
56
56
- repo : https://github.com/codespell-project/codespell
57
- rev : v2.3.0
57
+ rev : v2.4.1
58
58
hooks :
59
59
- id : codespell
60
60
- repo : https://github.com/PyCQA/flake8
61
- rev : 6.1 .0
61
+ rev : 7.2 .0
62
62
hooks :
63
63
- id : flake8
64
64
- repo : https://github.com/pre-commit/mirrors-mypy
65
- rev : v0.991
65
+ rev : v1.15.0
66
66
hooks :
67
67
- id : mypy
68
68
additional_dependencies : []
69
69
- repo : https://github.com/PyCQA/bandit
70
- rev : 1.7.10
70
+ rev : 1.8.3
71
71
hooks :
72
72
- id : bandit
73
73
args : [-x, tests]
0 commit comments