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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user