Skip to content

Commit 6eea652

Browse files
authored
⬆️ bump basedpyright to 1.31.1 (#800)
2 parents d006592 + b230a59 commit 6eea652

File tree

2 files changed

+14
-27
lines changed

2 files changed

+14
-27
lines changed

pyproject.toml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ 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.0",
63+
"basedpyright>=1.31.1",
6464
"mypy>=1.17.1",
6565
"orjson>=3.11.1; python_version<'3.14'", # used by mypy
6666
]
@@ -104,8 +104,6 @@ disallow_any_decorated = false
104104
disallow_any_explicit = false
105105
disallow_any_expr = false
106106
disallow_subclassing_any = false
107-
# optype.numpy compat
108-
always_true = ["NP125", "NP126", "NP20", "NP21", "NP22", "NP23"]
109107

110108
[tool.pyright]
111109
exclude = [
@@ -153,15 +151,6 @@ reportInvalidStubStatement = false
153151
reportUnusedCallResult = false
154152
reportUnusedExpression = false
155153

156-
[tool.pyright.defineConstant]
157-
# optype.numpy compat
158-
NP125 = true
159-
NP126 = true
160-
NP20 = true
161-
NP21 = true
162-
NP22 = true
163-
NP23 = true
164-
165154
[tool.repo-review]
166155
ignore = [
167156
"PY004", # no /docs

uv.lock

Lines changed: 13 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)