Skip to content

Commit c059207

Browse files
CopilotSigureMo
andauthored
🏷️ types: move to ty (#93)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com>
1 parent 5421268 commit c059207

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ clean-builds:
3737

3838
lint:
3939
{{PYTHON}} -m ruff check .
40-
{{PYTHON}} -m pyright .
40+
{{PYTHON}} -m ty check --error-on-warning .
4141

4242
fmt:
4343
{{PYTHON}} -m ruff format .

pyproject.toml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,7 @@ classifiers = [
2626
dynamic = ["version"]
2727

2828
[project.optional-dependencies]
29-
dev = ["pytest>=7.4.4", "ruff==0.15.11", "pyright>=1.1.293", "build"]
30-
31-
[tool.pyright]
32-
include = ["src", "tests"]
33-
pythonVersion = "3.10"
34-
typeCheckingMode = "strict"
29+
dev = ["pytest>=7.4.4", "ruff==0.15.11", "ty>=0.0.32", "build"]
3530

3631
[tool.ruff]
3732
line-length = 120
@@ -56,9 +51,7 @@ select = [
5651
"RUF100",
5752
]
5853
ignore = [
59-
"E501", # line too long, duplicate with ruff fmt
60-
"F401", # imported but unused, duplicate with pyright
61-
"F841", # local variable is assigned to but never used, duplicate with pyright
54+
"E501", # line too long, duplicate with ruff format
6255
]
6356

6457
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)