Files
cinder/.pre-commit-config.yaml
Eric Harney 747871ff7c Re-enable flake8-import-order for tox pep8
The switch to pre-commit in I7dd14b4087d
disabled this for tox -e pep8, removing tests
such as I201.

Change-Id: Ic2ea5f672b8c865f33dc6842971956ff7858809e
Signed-off-by: Eric Harney <eharney@redhat.com>
2026-04-14 17:10:24 -04:00

34 lines
928 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-json
files: .*\.json$
- id: check-yaml
files: .*\.(yaml|yml)$
exclude: 'rally-jobs/cinder.yaml'
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-tabs
exclude: '.*\.(svg)$'
- repo: https://opendev.org/openstack/hacking
rev: 8.0.0
hooks:
- id: hacking
additional_dependencies: ["flake8-import-order~=0.19.2"]
exclude: '^(doc|releasenotes|tools)/.*$'
- repo: https://github.com/PyCQA/doc8
rev: v2.0.0
hooks:
- id: doc8