5
5
# See https://pre-commit.com/hooks.html for more hooks
6
6
default_install_hook_types : [pre-commit, commit-msg, pre-push]
7
7
default_stages : [commit]
8
- minimum_pre_commit_version : 2.18 .0
8
+ minimum_pre_commit_version : 3.0 .0
9
9
10
10
repos :
11
11
17
17
18
18
# Commitizen enforces semantic and conventional commit messages.
19
19
- repo : https://github.com/commitizen-tools/commitizen
20
- rev : v2.40.0
20
+ rev : 3.5.2
21
21
hooks :
22
22
- id : commitizen
23
23
name : Check conventional commit message
@@ -33,13 +33,13 @@ repos:
33
33
34
34
# Add Black code formatters.
35
35
- repo : https://github.com/ambv/black
36
- rev : 22.12 .0
36
+ rev : 23.7 .0
37
37
hooks :
38
38
- id : black
39
39
name : Format code
40
40
args : [--config, pyproject.toml]
41
41
- repo : https://github.com/asottile/blacken-docs
42
- rev : 1.13 .0
42
+ rev : 1.15 .0
43
43
hooks :
44
44
- id : blacken-docs
45
45
name : Format code in docstrings
48
48
49
49
# Upgrade and rewrite Python idioms.
50
50
- repo : https://github.com/asottile/pyupgrade
51
- rev : v3.3.1
51
+ rev : v3.9.0
52
52
hooks :
53
53
- id : pyupgrade
54
54
name : Upgrade code idioms
69
69
70
70
# Check GitHub Actions workflow files.
71
71
- repo : https://github.com/Mateusz-Grzelinski/actionlint-py
72
- rev : v1.6.24
72
+ rev : v1.6.25
73
73
hooks :
74
74
- id : actionlint
75
75
98
98
99
99
# Check for potential security issues.
100
100
- repo : https://github.com/PyCQA/bandit
101
- rev : 1.7.4
101
+ rev : 1.7.5
102
102
hooks :
103
103
- id : bandit
104
104
name : Check for security issues
@@ -151,7 +151,7 @@ repos:
151
151
152
152
# Check and prettify the configuration files.
153
153
- repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
154
- rev : v2.6 .0
154
+ rev : v2.10 .0
155
155
hooks :
156
156
- id : pretty-format-ini
157
157
args : [--autofix]
@@ -185,7 +185,7 @@ repos:
185
185
186
186
# A linter for Golang
187
187
- repo : https://github.com/golangci/golangci-lint
188
- rev : v1.52.2
188
+ rev : v1.53.3
189
189
hooks :
190
190
- id : golangci-lint
191
191
0 commit comments