Skip to content

Commit 869b07e

Browse files
committed
pre-commit: Bump versions
We also drop the default language setting: everything is Python 3 nowadays. Change-Id: I9dc9573a86c93416d1bbbc782dac76ecdda6effd Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1 parent 9c5fd76 commit 869b07e

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
---
2-
default_language_version:
3-
# force all unspecified python hooks to run python3
4-
python: python3
52
repos:
63
- repo: https://github.com/pre-commit/pre-commit-hooks
74
rev: v4.6.0
@@ -18,23 +15,23 @@ repos:
1815
files: .*\.(yaml|yml)$
1916
args: ['--unsafe']
2017
- repo: https://github.com/asottile/pyupgrade
21-
rev: v3.15.2
18+
rev: v3.17.0
2219
hooks:
2320
- id: pyupgrade
2421
args: ['--py38-plus']
2522
- repo: https://github.com/psf/black
26-
rev: 24.4.0
23+
rev: 24.8.0
2724
hooks:
2825
- id: black
2926
args: ['-S', '-l', '79']
3027
- repo: https://github.com/PyCQA/bandit
31-
rev: 1.7.8
28+
rev: 1.7.9
3229
hooks:
3330
- id: bandit
3431
args: ['-x', 'tests']
3532
- repo: https://opendev.org/openstack/hacking
36-
rev: 6.1.0
33+
rev: 7.0.0
3734
hooks:
3835
- id: hacking
3936
additional_dependencies: []
40-
exclude: '^(doc|releasenotes|tools)/.*$'
37+
exclude: '^(doc|releasenotes)/.*$'

0 commit comments

Comments
 (0)