Skip to content

Commit 151b67e

Browse files
committed
Improve pre-commit hooks
1 parent ce2f16d commit 151b67e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ repos:
5050
- id: disallow-caps
5151
name: Disallow improper capitalization
5252
language: pygrep
53-
entry: Nanobind|Numpy|Cmake|CCache|Github|PyTest|Mqt|Tum
53+
entry: '\b(?:Nanobind|Numpy|Cmake|CCache|Github|PyTest|Mqt|Tum)\b'
5454
exclude: .pre-commit-config.yaml
5555
priority: 0
5656

@@ -161,4 +161,5 @@ repos:
161161
require_serial: true
162162
types_or: [python, pyi, jupyter]
163163
exclude: ^(docs/|eval/)
164+
pass_filenames: false
164165
priority: 3

0 commit comments

Comments
 (0)