Skip to content

Commit 99c7f58

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "pre-commit: Bump linter versions"
2 parents 07c05d8 + 9c2e5d5 commit 99c7f58

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default_language_version:
44
python: python3
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.4.0
7+
rev: v4.5.0
88
hooks:
99
- id: trailing-whitespace
1010
- id: mixed-line-ending
@@ -18,23 +18,18 @@ repos:
1818
files: .*\.(yaml|yml)$
1919
args: ['--unsafe']
2020
- repo: https://github.com/psf/black
21-
rev: 23.3.0
21+
rev: 23.12.1
2222
hooks:
2323
- id: black
2424
args: ['-S', '-l', '79']
2525
- repo: https://github.com/PyCQA/bandit
26-
rev: 1.7.5
26+
rev: 1.7.6
2727
hooks:
2828
- id: bandit
2929
args: ['-x', 'tests', '-s', 'B105,B106,B107,B401,B404,B603,B606,B607,B110,B605,B101']
30-
- repo: local
30+
- repo: https://opendev.org/openstack/hacking
31+
rev: 6.1.0
3132
hooks:
32-
- id: flake8
33-
name: flake8
34-
additional_dependencies:
35-
- hacking>=6.0.1,<6.1.0
36-
- flake8-import-order>=0.18.2,<0.19.0
37-
language: python
38-
entry: flake8
39-
files: '^.*\.py$'
33+
- id: hacking
34+
additional_dependencies: []
4035
exclude: '^(doc|releasenotes|tools)/.*$'

0 commit comments

Comments
 (0)