2323
2424# Sort imports.
2525- repo : https://github.com/pycqa/isort
26- rev : 5.13.2
26+ rev : 6.0.1
2727 hooks :
2828 - id : isort
2929 name : Sort import statements
@@ -32,22 +32,22 @@ repos:
3232
3333# Add Black code formatters.
3434- repo : https://github.com/ambv/black
35- rev : 24.10 .0
35+ rev : 25.9 .0
3636 hooks :
3737 - id : black
3838 name : Format code
3939 args : [--config, pyproject.toml]
4040- repo : https://github.com/asottile/blacken-docs
41- rev : 1.19.1
41+ rev : 1.20.0
4242 hooks :
4343 - id : blacken-docs
4444 name : Format code in docstrings
4545 args : [--line-length, '120']
46- additional_dependencies : [black==24.10 .0]
46+ additional_dependencies : [black==25.9 .0]
4747
4848# Upgrade and rewrite Python idioms.
4949- repo : https://github.com/asottile/pyupgrade
50- rev : v3.19 .0
50+ rev : v3.20 .0
5151 hooks :
5252 - id : pyupgrade
5353 name : Upgrade code idioms
@@ -57,13 +57,13 @@ repos:
5757# Similar to pylint, with a few more/different checks. For more available
5858# extensions: https://github.com/DmytroLitvinov/awesome-flake8-extensions
5959- repo : https://github.com/pycqa/flake8
60- rev : 7.1.1
60+ rev : 7.3.0
6161 hooks :
6262 - id : flake8
6363 name : Check flake8 issues
6464 files : ^src/package/|^tests/
6565 types : [text, python]
66- additional_dependencies : [flake8-bugbear==24.10.31 , flake8-builtins==2.5 .0, flake8-comprehensions==3.16 .0, flake8-docstrings==1.7.0, flake8-logging==1.7 .0, flake8-mutable==1.2.0, flake8-noqa==1.4.0, flake8-print==5.0.0, flake8-pyi==24.9 .0, flake8-pytest-style==2.0 .0, flake8-rst-docstrings==0.3.0 , pep8-naming==0.14 .1]
66+ additional_dependencies : [flake8-bugbear==24.12.12 , flake8-builtins==3.0 .0, flake8-comprehensions==3.17 .0, flake8-docstrings==1.7.0, flake8-logging==1.8 .0, flake8-mutable==1.2.0, flake8-noqa==1.4.0, flake8-print==5.0.0, flake8-pyi==25.5 .0, flake8-pytest-style==2.1 .0, flake8-rst-docstrings==0.3.1 , pep8-naming==0.15 .1]
6767 args : [--config, .flake8]
6868
6969# Run Pylint from the local repo to make sure venv packages
9191
9292# Check for potential security issues.
9393- repo : https://github.com/PyCQA/bandit
94- rev : 1.7.10
94+ rev : 1.8.6
9595 hooks :
9696 - id : bandit
9797 name : Check for security issues
@@ -103,7 +103,7 @@ repos:
103103# Enable a whole bunch of useful helper hooks, too.
104104# See https://pre-commit.com/hooks.html for more hooks.
105105- repo : https://github.com/pre-commit/pre-commit-hooks
106- rev : v5 .0.0
106+ rev : v6 .0.0
107107 hooks :
108108 - id : check-ast
109109 - id : check-case-conflict
@@ -144,7 +144,7 @@ repos:
144144
145145# Check and prettify the configuration files.
146146- repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
147- rev : v2.14 .0
147+ rev : v2.15 .0
148148 hooks :
149149 - id : pretty-format-ini
150150 args : [--autofix]
@@ -156,7 +156,7 @@ repos:
156156
157157# Check GitHub Actions workflow files.
158158- repo : https://github.com/Mateusz-Grzelinski/actionlint-py
159- rev : v1.7.4.18
159+ rev : v1.7.7.24
160160 hooks :
161161 - id : actionlint
162162
0 commit comments