4
4
repos :
5
5
6
6
- repo : https://github.com/pre-commit/pre-commit-hooks
7
- rev : v4.4 .0
7
+ rev : v4.6 .0
8
8
hooks :
9
9
- id : check-yaml
10
10
- id : check-toml
@@ -19,47 +19,47 @@ repos:
19
19
20
20
# Verify the contents of pyproject.toml
21
21
- repo : https://github.com/abravalheri/validate-pyproject
22
- rev : v0.13
22
+ rev : v0.20.2
23
23
hooks :
24
24
- id : validate-pyproject
25
25
26
26
# Updating code to use modern python patterns where available.
27
27
- repo : https://github.com/asottile/pyupgrade
28
- rev : v3.4 .0
28
+ rev : v3.17 .0
29
29
hooks :
30
30
- id : pyupgrade
31
31
32
32
# General Project code formatter.
33
33
- repo : https://github.com/psf/black
34
- rev : 23.3 .0
34
+ rev : 24.8 .0
35
35
hooks :
36
36
- id : black
37
37
38
38
# Sorts python imports.
39
39
- repo : https://github.com/PyCQA/isort
40
40
# Note - on black update blacken-docs pin should also be updated.
41
- rev : 5.12.0
41
+ rev : 5.13.2
42
42
hooks :
43
43
- id : isort
44
44
args : ['--profile=black']
45
45
46
46
# Formats python docstrings.
47
47
- repo : https://github.com/PyCQA/docformatter
48
- rev : v1.7.1
48
+ rev : v1.7.5
49
49
hooks :
50
50
- id : docformatter
51
51
52
52
# Formats code-blocks in documentation.
53
53
- repo : https://github.com/asottile/blacken-docs
54
- rev : 1.13 .0
54
+ rev : 1.18 .0
55
55
hooks :
56
56
- id : blacken-docs
57
57
# Note - on black update blacken-docs pin should also be updated.
58
58
additional_dependencies : ['black==22.12.0']
59
59
60
60
# Used to detect unintentionally unused code.
61
61
- repo : https://github.com/asottile/dead
62
- rev : v1.5.1
62
+ rev : v1.5.2
63
63
hooks :
64
64
- id : dead
65
65
args : [
@@ -69,13 +69,13 @@ repos:
69
69
# Lint documentation source.
70
70
- repo : https://github.com/sphinx-contrib/sphinx-lint
71
71
# Make sure to also update the additional dependency pin
72
- rev : v0.6.7
72
+ rev : v1.0.0
73
73
hooks :
74
74
- id : sphinx-lint
75
75
76
76
# lint documentation
77
77
- repo : https://github.com/PyCQA/doc8
78
- rev : v1.1.1
78
+ rev : v1.1.2
79
79
hooks :
80
80
- id : doc8
81
81
@@ -91,14 +91,14 @@ repos:
91
91
92
92
# Static typehint linting.
93
93
- repo : https://github.com/pre-commit/mirrors-mypy
94
- rev : v1.3.0
94
+ rev : v1.11.2
95
95
hooks :
96
96
- id : mypy
97
97
98
98
# A faster python linter
99
- - repo : https://github.com/charliermarsh /ruff-pre-commit
99
+ - repo : https://github.com/astral-sh /ruff-pre-commit
100
100
# Ruff version.
101
- rev : ' v0.0.269 '
101
+ rev : ' v0.6.8 '
102
102
hooks :
103
103
- id : ruff
104
104
@@ -118,7 +118,7 @@ repos:
118
118
119
119
# Lint code in pre-commit env, note: This ignores import checks.
120
120
- repo : https://github.com/PyCQA/pylint
121
- rev : v2.17.4
121
+ rev : v3.3.1
122
122
hooks :
123
123
# Pylint is also run from within pre-commit for CI purposes.
124
124
- id : pylint
@@ -129,7 +129,7 @@ repos:
129
129
130
130
# Lint code for security flaws.
131
131
- repo : https://github.com/PyCQA/bandit
132
- rev : 1.7.5
132
+ rev : 1.7.10
133
133
hooks :
134
134
- id : bandit
135
135
# Assert is used exclusively in pytest.
0 commit comments