Skip to content

Commit b168261

Browse files
committed
ignore missing xp-strict stubs
1 parent a1f09fa commit b168261

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pixi.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,11 @@ disallow_incomplete_defs = true
180180

181181
# pyright
182182

183-
[tool.pyright]
183+
[tool.basedpyright]
184184
include = ["src", "tests"]
185185
pythonVersion = "3.10"
186186
pythonPlatform = "All"
187-
typeCheckingMode = "strict"
187+
typeCheckingMode = "all"
188188

189189
# data-apis/array-api#589
190190
reportAny = false

tests/test_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import warnings
66

77
# array-api-strict#6
8-
import array_api_strict as xp # type: ignore[import-untyped]
8+
import array_api_strict as xp # type: ignore[import-untyped] # pyright: ignore[reportMissingTypeStubs]
99
import numpy as np
1010
import pytest
1111
from numpy.testing import assert_allclose, assert_array_equal, assert_equal

0 commit comments

Comments
 (0)