File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 2525 - pyright
2626 - pyright-docs
2727 - pyright-verifytypes
28+ - ty
29+ - ty-docs
2830 - pyroma
2931 - ruff-check-fix
3032 - ruff-check-fix-docs
@@ -341,6 +343,24 @@ repos:
341343 types_or : [python]
342344 additional_dependencies : [uv==0.9.5]
343345
346+ - id : ty
347+ name : ty
348+ stages : [pre-push]
349+ entry : uv run --extra=dev ty check
350+ language : python
351+ types_or : [python, toml]
352+ pass_filenames : false
353+ additional_dependencies : [uv==0.9.5]
354+
355+ - id : ty-docs
356+ name : ty-docs
357+ stages : [pre-push]
358+ entry : uv run --extra=dev doccmd --no-write-to-file --example-workers 0 --language=python
359+ --command="ty check"
360+ language : python
361+ types_or : [markdown, rst]
362+ additional_dependencies : [uv==0.9.5]
363+
344364 - id : yamlfix
345365 name : yamlfix
346366 entry : uv run --extra=dev yamlfix
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ optional-dependencies.dev = [
7272 " sphinx-substitution-extensions==2025.11.17" ,
7373 " sphinxcontrib-spelling==8.0.2" ,
7474 " sybil==9.3.0" ,
75+ " ty==0.0.1a34" ,
7576 " types-requests==2.32.4.20250913" ,
7677 " vulture==2.14" ,
7778 " vws-python-mock==2025.3.10.1" ,
You can’t perform that action at this time.
0 commit comments