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:
David Nwosu 2025-11-15 11:40:23 +01:00
parent 41a0ae8565
commit 1421a2d1a9

View file

@ -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