os-vif/.pre-commit-config.yaml
Stephen Finucane 533e24338a Integrate pre-commit
Change-Id: I26049d9d0f5f4f30a8e94f2d7b80eb70ada48e8c
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2024-11-06 12:56:30 +00:00

23 lines
617 B
YAML

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