Skip to content

Commit b1f80b9

Browse files
committed
Simplify ty command
1 parent 3627536 commit b1f80b9

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,7 +50,7 @@ repos:
5050
- id: disallow-caps
5151
name: Disallow improper capitalization
5252
language: pygrep
53-
entry: Nanobind|Numpy|Github|PyTest|Mqt|Tum
53+
entry: Numpy|Github|PyTest|Mqt|Tum
5454
exclude: .pre-commit-config.yaml
5555
priority: 0
5656

@@ -138,7 +138,7 @@ repos:
138138
hooks:
139139
- id: ty-check
140140
name: ty check
141-
entry: uvx python -c "import subprocess; import sys; r = subprocess.run(['uv', 'sync', '--no-install-project', '--inexact']); sys.exit(r.returncode or subprocess.run(['uv', 'run', '--no-sync', 'ty', 'check']).returncode)"
141+
entry: uv run ty check
142142
language: unsupported
143143
require_serial: true
144144
types_or: [python, pyi, jupyter]

0 commit comments

Comments
 (0)