pre-commit: Bump versions

Also skip installation in pep8 job to speed up the check.

Change-Id: I90b13eef56cea666d7d3a13e3ea63f9dc9830ca8
This commit is contained in:
Takashi Kajinami 2025-02-15 15:34:08 +09:00
parent ef9125c724
commit 1fe08af3aa
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 rev: v5.0.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
# Replaces or checks mixed line ending # Replaces or checks mixed line ending
@ -24,7 +24,7 @@ repos:
- id: hacking - id: hacking
additional_dependencies: [] additional_dependencies: []
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.18.0 rev: v3.19.1
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py3-only] args: [--py3-only]

View File

@ -22,6 +22,7 @@ commands =
stestr slowest stestr slowest
[testenv:pep8] [testenv:pep8]
skip_install = true
deps = deps =
pre-commit>=2.6.0 # MIT pre-commit>=2.6.0 # MIT
commands = commands =