|
30 | 30 |
|
31 | 31 | repos:
|
32 | 32 | - repo: "https://github.com/pre-commit/pre-commit-hooks"
|
33 |
| - rev: "v4.5.0" |
| 33 | + rev: "v4.6.0" |
34 | 34 | hooks:
|
35 | 35 | ### Git ###
|
36 | 36 | # Protect specific branches from direct check-ins.
|
@@ -108,7 +108,7 @@ repos:
|
108 | 108 | - id: "check-pre-commit-ci-config"
|
109 | 109 |
|
110 | 110 | - repo: "https://github.com/python-jsonschema/check-jsonschema"
|
111 |
| - rev: "0.27.4" |
| 111 | + rev: "0.28.2" |
112 | 112 | hooks:
|
113 | 113 | # Validate Dependabot Config (v2) against the schema provided by
|
114 | 114 | # SchemaStore.
|
@@ -161,6 +161,8 @@ repos:
|
161 | 161 | - "colorama"
|
162 | 162 |
|
163 | 163 | - repo: "https://github.com/psf/black-pre-commit-mirror"
|
| 164 | + # Stay at black version 23, because some formatting rules change in |
| 165 | + # version 24. |
164 | 166 | rev: "23.12.1"
|
165 | 167 | hooks:
|
166 | 168 | # Format Python code with black.
|
@@ -188,12 +190,12 @@ repos:
|
188 | 190 | - "flake8-docstrings >=1.0, <2.0"
|
189 | 191 | - "flake8-isort >=6.0, <7.0"
|
190 | 192 | - "flake8-logging-format >=0.1, <1.0"
|
191 |
| - - "flake8-pytest-style >=1.0, <2.0" |
| 193 | + - "flake8-pytest-style >=2.0, <3.0" |
192 | 194 | - "flake8-rst-docstrings >=0.2.6, <1.0"
|
193 | 195 | - "pep8-naming >=0.1, <1.0"
|
194 | 196 |
|
195 | 197 | - repo: "https://github.com/PyCQA/bandit"
|
196 |
| - rev: "1.7.7" |
| 198 | + rev: "1.7.8" |
197 | 199 | hooks:
|
198 | 200 | # Check code security with bandit.
|
199 | 201 | - id: "bandit"
|
@@ -236,7 +238,7 @@ repos:
|
236 | 238 | - "-l"
|
237 | 239 |
|
238 | 240 | - repo: "https://github.com/shellcheck-py/shellcheck-py"
|
239 |
| - rev: "v0.9.0.6" |
| 241 | + rev: "v0.10.0.1" |
240 | 242 | hooks:
|
241 | 243 | # Lint shell scripts with shellcheck.
|
242 | 244 | # NOTE: The official shellcheck hook from
|
|
0 commit comments