pre-commit: Bump versions

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Ib2b7a8ae835d37d4de1a47f6d36d510ae3f49ca2
This commit is contained in:
Stephen Finucane 2024-08-09 12:28:15 +01:00
parent 14ef891611
commit 1f1bb0d095

View File

@ -1,10 +1,7 @@
--- ---
default_language_version:
# force all unspecified python hooks to run python3
python: python3
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 rev: v4.6.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: mixed-line-ending - id: mixed-line-ending
@ -27,13 +24,9 @@ repos:
hooks: hooks:
- id: bashate - id: bashate
args: ['--ignore', 'E006,E042,E043'] args: ['--ignore', 'E006,E042,E043']
- repo: local - repo: https://opendev.org/openstack/hacking
rev: 6.1.0
hooks: hooks:
- id: flake8 - id: hacking
name: flake8 additional_dependencies: []
additional_dependencies:
- hacking>=6.1.0,<6.2.0
language: python
entry: flake8
files: '^.*\.py$'
exclude: '^(doc|releasenotes|tools)/.*$' exclude: '^(doc|releasenotes|tools)/.*$'