Skip to content

Commit 2646125

Browse files
authored
Merge pull request #113 from blooop/feature/ty
Feature/ty
2 parents 6ce9c59 + f950966 commit 2646125

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"charliermarsh.ruff",
88
"tamasfe.even-better-toml",
99
]
10-
}
10+
}

pixi.lock

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.0.8,<=0.0.8",
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)