Skip to content

Commit 91fb4e7

Browse files
committed
🎨 lint: use ruff 0.13 and enable future-annotations option
1 parent 8264402 commit 91fb4e7

File tree

2 files changed

+65
-52
lines changed

2 files changed

+65
-52
lines changed

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ moelib = "moelib.__main__:main"
3333

3434
[dependency-groups]
3535
dev = [
36-
"pyright>=1.1.391",
37-
"ruff>=0.9.3",
38-
"pytest>=8.3.4",
39-
"pytest-rerunfailures>=15.0",
36+
"pyright>=1.1.405",
37+
"ruff>=0.13.0",
38+
"pytest>=8.4.2",
39+
"pytest-rerunfailures>=16.0.1",
4040
]
4141

4242
[tool.pyright]
@@ -91,6 +91,7 @@ ignore = [
9191
"F401", # imported but unused, duplicate with pyright
9292
"F841", # local variable is assigned to but never used, duplicate with pyright
9393
]
94+
future-annotations = true
9495

9596
[tool.ruff.lint.isort]
9697
required-imports = ["from __future__ import annotations"]

0 commit comments

Comments
 (0)