chore: bump to latest pre-commit tools

Bumps to the latest versions of the tools we use in pre-commit except
for codespell which will come in a follow up.

Change-Id: I61f69d914b28bb13a1183315d6181db872cca638
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein 2025-11-23 13:53:08 -06:00
parent 7b2fdd9aaa
commit 49def356a0
No known key found for this signature in database

View file

@ -15,7 +15,7 @@ exclude: |
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
# NOTE(JayF): We shouldn't modify release notes after their
@ -44,17 +44,17 @@ repos:
files: .*\.(yaml|yml)$
exclude: releasenotes/.*$
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
rev: v1.5.5
hooks:
- id: remove-tabs
exclude: '.*\.(svg)$'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
rev: v0.14.6
hooks:
- id: ruff
- id: ruff-check
args: ['--fix', '--unsafe-fixes']
- repo: https://opendev.org/openstack/hacking
rev: 6.1.0
rev: 8.0.0
hooks:
- id: hacking
additional_dependencies: []
@ -65,13 +65,13 @@ repos:
- id: codespell
args: [--write-changes]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
rev: v1.0.2
hooks:
- id: sphinx-lint
args: [--enable=default-role]
files: ^doc/|releasenotes|api-ref
- repo: https://opendev.org/openstack/bashate
rev: 2.1.0
rev: 2.1.1
hooks:
- id: bashate
args: ["-iE006,E044", "-eE005,E042"]
@ -81,7 +81,7 @@ repos:
language: python
types: [shell]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.10
rev: 1.9.1
hooks:
- id: bandit
args: ["-x", "tests/", "-n5", "-ll", "-c", "tools/bandit.yml"]
@ -93,7 +93,7 @@ repos:
types: [ python ]
require_serial: true
- repo: https://github.com/PyCQA/doc8
rev: v1.1.2
rev: v2.0.0
hooks:
- id: doc8
- repo: local