@@ -9,25 +9,27 @@ default_language_version:
9
9
python : python3
10
10
repos :
11
11
- repo : https://github.com/pre-commit/pre-commit-hooks
12
- rev : v5 .0.0
12
+ rev : v6 .0.0
13
13
hooks :
14
14
- id : check-added-large-files
15
15
- id : check-case-conflict
16
+ - id : check-illegal-windows-names
16
17
- id : check-merge-conflict
17
18
- id : check-ast
18
19
- id : check-toml
19
20
- id : check-yaml
20
21
# - id: check-executables-have-shebangs
21
22
- id : check-vcs-permalinks
23
+ - id : debug-statements
22
24
- id : destroyed-symlinks
23
25
- id : detect-private-key
24
- - id : debug-statements
26
+ - id : forbid-submodules
25
27
- id : end-of-file-fixer
26
28
- id : mixed-line-ending
27
29
args : [--fix=lf]
28
30
- id : trailing-whitespace
29
31
- repo : https://github.com/abravalheri/validate-pyproject
30
- rev : v0.24
32
+ rev : v0.24.1
31
33
hooks :
32
34
- id : validate-pyproject
33
35
name : Validate pyproject.toml
@@ -41,23 +43,23 @@ repos:
41
43
hooks :
42
44
- id : isort
43
45
- repo : https://github.com/asottile/pyupgrade
44
- rev : v3.19.1
46
+ rev : v3.20.0
45
47
hooks :
46
48
- id : pyupgrade
47
49
args : [--py39-plus]
48
- - repo : https://github.com/psf/black
50
+ - repo : https://github.com/psf/black-pre-commit-mirror
49
51
rev : 25.1.0
50
52
hooks :
51
53
- id : black
52
54
- repo : https://github.com/PyCQA/flake8
53
- rev : 7.1.2
55
+ rev : 7.3.0
54
56
hooks :
55
57
- id : flake8
56
58
args : ["--config=.flake8"]
57
59
additional_dependencies : &flake8_dependencies
58
60
# These versions need updated manually
59
- - flake8==7.1.2
60
- - flake8-comprehensions==3.16 .0
61
+ - flake8==7.3.0
62
+ - flake8-comprehensions==3.17 .0
61
63
- flake8-bugbear==24.12.12
62
64
# - flake8-simplify==0.21.0
63
65
- repo : https://github.com/asottile/yesqa
73
75
# - id: pyroma
74
76
# args: [-n, "10", .]
75
77
- repo : https://github.com/python-jsonschema/check-jsonschema
76
- rev : 0.31 .3
78
+ rev : 0.33 .3
77
79
hooks :
78
80
- id : check-dependabot
79
81
- id : check-github-workflows
82
84
- id : check-hooks-apply
83
85
- id : check-useless-excludes
84
86
- repo : https://github.com/pre-commit/pre-commit-hooks
85
- rev : v5 .0.0
87
+ rev : v6 .0.0
86
88
hooks :
87
89
- id : no-commit-to-branch # no commit directly to main
0 commit comments