Skip to content

Commit 008eb06

Browse files
Fix ty pre commit hook
1 parent eeef73b commit 008eb06

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ repos:
1616
- id: ruff-format
1717
- repo: local
1818
hooks:
19-
- id: ty-check
19+
- id: ty
2020
name: ty-check
21+
entry: uv run ty check
2122
language: python
22-
entry: ty check
23-
pass_filenames: false
24-
args: [--python=.venv/]
25-
additional_dependencies: [ty]
23+
types: [python]
24+
pass_filenames: true

0 commit comments

Comments
 (0)