Files
castellan/.pre-commit-config.yaml
Takashi Kajinami 615e42ad30 Migrate bandit options to pyproject.toml
... so that these options can be used by different tools than
tox/pre-commit more easily.

Change-Id: I1c308dbf98070e0d0d3aab64c00fe307922c7cfb
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-10-03 00:03:32 +09:00

25 lines
663 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/PyCQA/bandit
rev: 1.8.6
hooks:
- id: bandit
args: ['-c', 'pyproject.toml']