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 2222 - pyright
2323 - pyright-docs
2424 - pyright-verifytypes
25+ - ty
26+ - ty-docs
2527 - pyroma
2628 - ruff-check-fix
2729 - ruff-check-fix-docs
@@ -208,6 +210,24 @@ repos:
208210 types_or : [python]
209211 additional_dependencies : [uv==0.9.5]
210212
213+ - id : ty
214+ name : ty
215+ stages : [pre-push]
216+ entry : uv run --extra=dev ty check
217+ language : python
218+ types_or : [python, toml]
219+ pass_filenames : false
220+ additional_dependencies : [uv==0.9.5]
221+
222+ - id : ty-docs
223+ name : ty-docs
224+ stages : [pre-push]
225+ entry : uv run --extra=dev doccmd --no-write-to-file --example-workers 0 --language=python
226+ --command="ty check"
227+ language : python
228+ types_or : [markdown, rst]
229+ additional_dependencies : [uv==0.9.5]
230+
211231 - id : vulture
212232 name : vulture
213233 entry : uv run --extra=dev -m vulture .
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ optional-dependencies.dev = [
9595 " sphinxcontrib-spelling==8.0.2" ,
9696 " sybil==9.3.0" ,
9797 " tenacity==9.1.2" ,
98+ " ty==0.0.1a34" ,
9899 " types-docker==7.1.0.20251202" ,
99100 " types-pyyaml==6.0.12.20250915" ,
100101 " types-requests==2.32.4.20250913" ,
You can’t perform that action at this time.
0 commit comments