@@ -15,15 +15,15 @@ repos:
1515
1616# Commitizen enforces semantic and conventional commit messages.
1717- repo : https://github.com/commitizen-tools/commitizen
18- rev : v4.13.9
18+ rev : 2ca29f9297911f8f5a4e8f97100b7832f045e8d3 # frozen: v4.13.10
1919 hooks :
2020 - id : commitizen
2121 name : Check conventional commit message
2222 stages : [commit-msg]
2323
2424# Sort imports.
2525- repo : https://github.com/pycqa/isort
26- rev : 7 .0.0
26+ rev : dac090ce4d9ee313d086e2e89ab1acb8c2664fa1 # frozen: 9 .0.0a3
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 : 25.11.0
35+ rev : c6755bb741b6481d6b3d3bb563c83fa060db96c9 # frozen: 26.3.1
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.20.0
41+ rev : dda8db18cfc68df532abf33b185ecd12d5b7b326 # frozen: 1.20.0
4242 hooks :
4343 - id : blacken-docs
4444 name : Format code in docstrings
4545 args : [--line-length, '120']
46- additional_dependencies : [black==25.11.0 ]
46+ additional_dependencies : [black==26.3.1 ]
4747
4848# Upgrade and rewrite Python idioms.
4949- repo : https://github.com/asottile/pyupgrade
50- rev : v3.21.2
50+ rev : 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2
5151 hooks :
5252 - id : pyupgrade
5353 name : Upgrade code idioms
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.3.0
60+ rev : d93590f5be797aabb60e3b09f2f52dddb02f349f # frozen: 7.3.0
6161 hooks :
6262 - id : flake8
6363 name : Check flake8 issues
9191
9292# Check for potential security issues.
9393- repo : https://github.com/PyCQA/bandit
94- rev : 1.9.2
94+ rev : 92ae8b82fb422a639f0ed8d99e96cea769594e08 # frozen: 1.9.4
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 : v6.0.0
106+ rev : 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
107107 hooks :
108108 - id : check-ast
109109 - id : check-case-conflict
@@ -123,7 +123,7 @@ repos:
123123 - id : check-yaml
124124 - id : check-toml
125125- repo : https://github.com/pre-commit/pygrep-hooks
126- rev : v1.10.0
126+ rev : 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 # frozen: v1.10.0
127127 hooks :
128128 - id : python-check-blanket-noqa
129129 - id : python-check-blanket-type-ignore
@@ -138,13 +138,13 @@ repos:
138138# this package's documentation.
139139# Commenting this out because https://github.com/Lucas-C/pre-commit-hooks-markup/issues/13
140140# - repo: https://github.com/Lucas-C/pre-commit-hooks-markup
141- # rev: v1.0.1
141+ # rev: 501f3d60cee13c712492103343bc23efdc7b3d1f # frozen: v1.0.1
142142# hooks:
143143# - id: rst-linter
144144
145145# Check and prettify the configuration files.
146146- repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
147- rev : v2.15 .0
147+ rev : 4380fbb73a154b5f5624794c1c78d9719ccc860f # frozen: v2.16 .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.9 .24
159+ rev : c04ed26e40637cab1aa9879c693832a9c120fb20 # frozen: v1.7.12 .24
160160 hooks :
161161 - id : actionlint
162162
0 commit comments