Skip to content

Commit 7013b09

Browse files
authored
chore(deps-dev): update pre-commit and the hooks (#360)
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
1 parent 74c9637 commit 7013b09

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See https://pre-commit.com/hooks.html for more hooks
66
default_install_hook_types: [pre-commit, commit-msg, pre-push]
77
default_stages: [commit]
8-
minimum_pre_commit_version: 2.18.0
8+
minimum_pre_commit_version: 3.0.0
99

1010
repos:
1111

@@ -17,7 +17,7 @@ repos:
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
@@ -48,7 +48,7 @@ repos:
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
@@ -69,7 +69,7 @@ repos:
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

@@ -98,7 +98,7 @@ repos:
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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ docs = [
7676
"numpydoc >=1.5.0,<2.0.0",
7777
]
7878
hooks = [
79-
"pre-commit >=2.18.0,<3.4.0",
79+
"pre-commit >=3.0.0,<3.4.0",
8080
]
8181
# Note that the `custom_exit_code` and `env` plugins may currently be unmaintained.
8282
test = [

0 commit comments

Comments
 (0)