Skip to content

Commit 71f02f0

Browse files
committed
✅: basedpyright
Signed-off-by: nstarman <[email protected]>
1 parent d4078d7 commit 71f02f0

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,12 @@ jobs:
142142
uv run --no-sync --active \
143143
pyright ${{ steps.collect-files.outputs.files }}
144144
145-
# TODO: (based)pyright
145+
- name: basedpyright
146+
run: |
147+
uv sync --no-editable --group=basedpyright
148+
uv pip install numpy==${{ matrix.numpy-version }}
149+
uv run --no-sync --active \
150+
pyright ${{ steps.collect-files.outputs.files }}
146151
147152
# TODO: integration tests for array-api-strict
148153
# TODO: integration tests for 3rd party libs such as cupy, pytorch, tensorflow, dask, etc.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ pyright = [
6868
basedmypy = [
6969
"basedmypy>=2.10.0",
7070
]
71+
basedpyright = [
72+
"basedpyright>=1.31.2",
73+
]
7174

7275
[tool.hatch]
7376
version.source = "vcs"

uv.lock

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

0 commit comments

Comments
 (0)