Skip to content

Commit

Permalink
ignore missing xp-strict stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascolley committed Nov 26, 2024
1 parent a1f09fa commit b168261
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b168261

Please sign in to comment.