mirror of
https://opendev.org/openstack/ironic.git
synced 2026-01-12 06:53:44 +00:00
Improve pre-commit configuration
Enhanced the pre-commit hook configuration by adding directory exclusions (.tox/, build/, dist/) Change-Id: Ib12990cc85bdba5445eb8553c751025923b29645 Signed-off-by: David Nwosu <nwosudavid13@gmail.com>
This commit is contained in:
parent
41a0ae8565
commit
1421a2d1a9
1 changed files with 11 additions and 0 deletions
|
|
@ -2,6 +2,17 @@
|
|||
default_language_version:
|
||||
# force all unspecified python hooks to run python3
|
||||
python: python3
|
||||
|
||||
exclude: |
|
||||
(?x)^(
|
||||
venv/|
|
||||
.venv/|
|
||||
env/|
|
||||
.tox/|
|
||||
build/|
|
||||
dist/
|
||||
)
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue