Files
oslotest/.pre-commit-config.yaml
Takashi Kajinami 9c1cb8e6df Bump pyupgrade target to 3.10+
... according to the versions currently supported.

Change-Id: I2f907cb9ce28348236a0d7d062729a5bd6e4901a
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-10-05 19:49:34 +09:00

25 lines
664 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: mixed-line-ending
args: ['--fix', 'lf']
exclude: '.*\.(svg)$'
- id: fix-byte-order-marker
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://opendev.org/openstack/hacking
rev: 7.0.0
hooks:
- id: hacking
additional_dependencies: []
- repo: https://github.com/asottile/pyupgrade
rev: v3.20.0
hooks:
- id: pyupgrade
args: [--py310-plus]