pre-commit: Bump versions

We also manually remove the 'default_language_version' section: all
reasonable environments will use Python 3 by default nowadays.

Change-Id: Ifc063e69afdf41ca9aef18db686f0e9a6504ea5e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-05-08 11:39:39 +01:00
parent 348baf05e9
commit ceb488093a

View File

@@ -1,10 +1,7 @@
---
default_language_version:
# force all unspecified python hooks to run python3
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: mixed-line-ending
@@ -16,7 +13,7 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://opendev.org/openstack/hacking
rev: 6.1.0
rev: 7.0.0
hooks:
- id: hacking
additional_dependencies: []