Skip to content

Commit 97023ae

Browse files
authored
⬆️ bump ruff to 0.12.9 and basedpyright to 1.31.2 (#813)
2 parents 4fd2b74 + 738c723 commit 97023ae

File tree

2 files changed

+99
-104
lines changed

2 files changed

+99
-104
lines changed

pyproject.toml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,15 @@ ci = ["packaging>=25.0"]
5353
lint = [
5454
{ include-group = "extras" },
5555
"dprint-py>=0.50.1.4",
56-
"ruff>=0.12.7",
56+
"ruff>=0.12.9",
5757
"sp-repo-review[cli]>=2025.5.2",
5858
]
5959
type = [
6060
{ include-group = "extras" },
6161
{ include-group = "ci" },
6262
"array-api-compat==1.12.0", # bundled as `scipy._lib.array_api_compat`
63-
"basedpyright>=1.31.1",
64-
"mypy>=1.17.1",
65-
"orjson>=3.11.1; python_version<'3.14'", # used by mypy
63+
"basedpyright>=1.31.2",
64+
"mypy[faster-cache]>=1.17.1",
6665
]
6766
dev = [
6867
{ include-group = "lint" },
@@ -95,15 +94,9 @@ extend-ignore-identifiers-re = ['ND|Nd']
9594

9695
[tool.mypy]
9796
strict = true
98-
strict_bytes = true
99-
100-
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
101-
warn_unreachable = false
102-
warn_unused_ignores = true
103-
disallow_any_decorated = false
104-
disallow_any_explicit = false
105-
disallow_any_expr = false
10697
disallow_subclassing_any = false
98+
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
99+
warn_unreachable = false # required by repo-review
107100

108101
[tool.pyright]
109102
exclude = [

0 commit comments

Comments
 (0)