Skip to content

Commit 8108ddd

Browse files
committed
add ty
1 parent 6ce9c59 commit 8108ddd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎pyproject.toml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ test = [
4242
"ruff>=0.5.0,<=0.14.10",
4343
"coverage>=7.5.4,<=7.13.1",
4444
"pre-commit<=4.5.1",
45+
"ty<=0.1.0",
4546
]
4647

4748
[build-system]
@@ -67,7 +68,8 @@ format = "ruff format ."
6768
check-clean-workspace = "git diff --exit-code"
6869
ruff-lint = "ruff check . --fix"
6970
pylint = "pylint --version && echo 'running pylint...' && pylint $(git ls-files '*.py')"
70-
lint = { depends-on = ["ruff-lint", "pylint"] }
71+
ty = "ty check"
72+
lint = { depends-on = ["ruff-lint", "pylint", "ty"] }
7173
style = { depends-on = ["format", "lint"] }
7274
commit-format = "git commit -a -m'autoformat code' || true"
7375
test = "pytest"
@@ -83,6 +85,7 @@ ci = { depends-on = [
8385
"format",
8486
"ruff-lint",
8587
"pylint",
88+
"ty",
8689
"coverage",
8790
"coverage-report",
8891
] }

0 commit comments

Comments
 (0)