Skip to content

Commit ac1f4f5

Browse files
committed
chore: exclude hatch_build from mypy checks
Signed-off-by: JP-Ellis <[email protected]>
1 parent a880be6 commit ac1f4f5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ repos:
8888
language: system
8989
types:
9090
- python
91-
exclude: ^(src/pact|tests|examples|examples/tests)/(?!v3/).*\.py$
91+
exclude: |
92+
(?x)^(
93+
.*/hatch_build.py |
94+
(src|tests|examples)/(?!v3/).*\.py
95+
)$
9296
stages:
9397
- pre-push

0 commit comments

Comments
 (0)