
Change-Id: Icfbdee104baa60f1507ce61f06797d0adb3e947d Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
32 lines
850 B
YAML
32 lines
850 B
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
# Replaces or checks mixed line ending
|
|
- 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)$
|
|
exclude: 'rally-scenarios/heat-fakevirt.yaml'
|
|
- repo: https://opendev.org/openstack/hacking
|
|
rev: 6.1.0
|
|
hooks:
|
|
- id: hacking
|
|
additional_dependencies: []
|
|
- repo: https://github.com/PyCQA/bandit
|
|
rev: 1.8.6
|
|
hooks:
|
|
- id: bandit
|
|
args: ['-c', 'pyproject.toml']
|
|
- repo: https://github.com/PyCQA/doc8
|
|
rev: v1.1.2
|
|
hooks:
|
|
- id: doc8
|