From 111b8913bbc05052603eac5240941566896d0ee7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 18:10:08 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20types:=20move=20to=20ty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agent-Logs-Url: https://github.com/ShigureLab/codespan-reporting-py/sessions/b48997c5-0017-49fa-9e5a-b1b950b48116 Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com> --- justfile | 2 +- pyproject.toml | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/justfile b/justfile index 1581d55..dbbefd4 100644 --- a/justfile +++ b/justfile @@ -37,7 +37,7 @@ clean-builds: lint: {{PYTHON}} -m ruff check . - {{PYTHON}} -m pyright . + {{PYTHON}} -m ty check --error-on-warning . fmt: {{PYTHON}} -m ruff format . diff --git a/pyproject.toml b/pyproject.toml index c52304a..7389b93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,12 +26,7 @@ classifiers = [ dynamic = ["version"] [project.optional-dependencies] -dev = ["pytest>=7.4.4", "ruff==0.15.11", "pyright>=1.1.293", "build"] - -[tool.pyright] -include = ["src", "tests"] -pythonVersion = "3.10" -typeCheckingMode = "strict" +dev = ["pytest>=7.4.4", "ruff==0.15.11", "ty>=0.0.32", "build"] [tool.ruff] line-length = 120 @@ -56,9 +51,7 @@ select = [ "RUF100", ] ignore = [ - "E501", # line too long, duplicate with ruff fmt - "F401", # imported but unused, duplicate with pyright - "F841", # local variable is assigned to but never used, duplicate with pyright + "E501", # line too long, duplicate with ruff format ] [tool.ruff.lint.isort]