diff --git a/pixi.lock b/pixi.lock index 36d6325..9522dd7 100644 --- a/pixi.lock +++ b/pixi.lock @@ -1274,7 +1274,7 @@ packages: name: array-api-extra version: 0.2.1.dev0 path: . - sha256: ea420e1bba04dc0952dd69a0eb8052a3dbf876897af9e55772982e9a7da064ad + sha256: 93b4fb80d700f3c82e23601a26422f393dfc22a3dc869472bdea5d999cf0b36a requires_dist: - furo>=2023.8.17 ; extra == 'docs' - myst-parser>=0.13 ; extra == 'docs' diff --git a/pyproject.toml b/pyproject.toml index 18f61ca..e79aacf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -180,11 +180,11 @@ disallow_incomplete_defs = true # pyright -[tool.pyright] +[tool.basedpyright] include = ["src", "tests"] pythonVersion = "3.10" pythonPlatform = "All" -typeCheckingMode = "strict" +typeCheckingMode = "all" # data-apis/array-api#589 reportAny = false diff --git a/tests/test_funcs.py b/tests/test_funcs.py index e961a77..a75990b 100644 --- a/tests/test_funcs.py +++ b/tests/test_funcs.py @@ -5,7 +5,7 @@ import warnings # array-api-strict#6 -import array_api_strict as xp # type: ignore[import-untyped] +import array_api_strict as xp # type: ignore[import-untyped] # pyright: ignore[reportMissingTypeStubs] import numpy as np import pytest from numpy.testing import assert_allclose, assert_array_equal, assert_equal