55# See https://pre-commit.com/hooks.html for more hooks
66default_install_hook_types : [pre-commit, commit-msg, pre-push]
77default_stages : [commit]
8- minimum_pre_commit_version : 2.18 .0
8+ minimum_pre_commit_version : 3.0 .0
99
1010repos :
1111
1717
1818# Commitizen enforces semantic and conventional commit messages.
1919- repo : https://github.com/commitizen-tools/commitizen
20- rev : v2.40.0
20+ rev : 3.5.2
2121 hooks :
2222 - id : commitizen
2323 name : Check conventional commit message
@@ -33,13 +33,13 @@ repos:
3333
3434# Add Black code formatters.
3535- repo : https://github.com/ambv/black
36- rev : 22.12 .0
36+ rev : 23.7 .0
3737 hooks :
3838 - id : black
3939 name : Format code
4040 args : [--config, pyproject.toml]
4141- repo : https://github.com/asottile/blacken-docs
42- rev : 1.13 .0
42+ rev : 1.15 .0
4343 hooks :
4444 - id : blacken-docs
4545 name : Format code in docstrings
4848
4949# Upgrade and rewrite Python idioms.
5050- repo : https://github.com/asottile/pyupgrade
51- rev : v3.3.1
51+ rev : v3.9.0
5252 hooks :
5353 - id : pyupgrade
5454 name : Upgrade code idioms
6969
7070# Check GitHub Actions workflow files.
7171- repo : https://github.com/Mateusz-Grzelinski/actionlint-py
72- rev : v1.6.24
72+ rev : v1.6.25
7373 hooks :
7474 - id : actionlint
7575
9898
9999# Check for potential security issues.
100100- repo : https://github.com/PyCQA/bandit
101- rev : 1.7.4
101+ rev : 1.7.5
102102 hooks :
103103 - id : bandit
104104 name : Check for security issues
@@ -151,7 +151,7 @@ repos:
151151
152152# Check and prettify the configuration files.
153153- repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
154- rev : v2.6 .0
154+ rev : v2.10 .0
155155 hooks :
156156 - id : pretty-format-ini
157157 args : [--autofix]
@@ -185,7 +185,7 @@ repos:
185185
186186# A linter for Golang
187187- repo : https://github.com/golangci/golangci-lint
188- rev : v1.52.2
188+ rev : v1.53.3
189189 hooks :
190190 - id : golangci-lint
191191
0 commit comments