Skip to content

Commit 0b65d75

Browse files
committed
Change CI to use ty
1 parent 4987483 commit 0b65d75

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ jobs:
122122
with:
123123
groups: check
124124

125-
- name: Run mypy
126-
run: uv run mypy src/torchjd
125+
- name: Run ty
126+
run: uv run ty src/torchjd
127127

128128
check-todos:
129129
name: Absence of TODOs

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Changelog = "https://github.com/TorchJD/torchjd/blob/main/CHANGELOG.md"
6666

6767
[dependency-groups]
6868
check = [
69-
"mypy>=1.16.0",
69+
"ty>=0.0.14",
7070
"pre-commit>=2.9.2", # isort doesn't work before 2.9.2
7171
]
7272

0 commit comments

Comments
 (0)