Skip to content

Commit 8db49cb

Browse files
committed
Minor improvement to pre-commit hooks
1 parent 6fbc3f4 commit 8db49cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ repos:
5454
entry: uv run python -m pytest tests/unit/ -v
5555
language: system
5656
pass_filenames: false
57-
types_or: [python, yaml]
58-
files: '\.(py|yml|yaml)$|pyproject\.toml$|requirements.*\.txt$|uv\.lock$'
57+
types_or: [python]
58+
files: '\.(py)$|pyproject\.toml$|requirements.*\.txt$|uv\.lock$'
5959

6060
# Secrets detection with TruffleHog
6161
- repo: https://github.com/trufflesecurity/trufflehog

0 commit comments

Comments
 (0)