Skip to content

Commit 9237963

Browse files
committed
Further improve exclusion
1 parent 517e8f0 commit 9237963

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
@@ -50,8 +50,8 @@ repos:
5050
- id: disallow-caps
5151
name: Disallow improper capitalization
5252
language: pygrep
53-
entry: '\b(?:Numpy|Github|PyTest|Mqt|Tum)\b'
54-
exclude: (.pre-commit-config.yaml|.*\.png)
53+
entry: \b(Numpy|Github|PyTest|Mqt|Tum)\b
54+
exclude: ^(\.pre-commit-config\.yaml|.*\.png)$
5555
priority: 0
5656

5757
## Check for spelling

0 commit comments

Comments
 (0)