Skip to content

Commit 47fd30d

Browse files
committed
Simplify ty command
1 parent 3627536 commit 47fd30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)