Skip to content

fix: CI pytest failure on 3.11/3.12 and resolve all 121 pyright errors - #11

Merged
tkclam merged 1 commit into
mainfrom
docs/mkdocs-site
Jun 11, 2026
Merged

fix: CI pytest failure on 3.11/3.12 and resolve all 121 pyright errors#11
tkclam merged 1 commit into
mainfrom
docs/mkdocs-site

Conversation

@tkclam

@tkclam tkclam commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Pass --python to uv run in CI so the matrix version is actually used instead of the .python-version pin (3.13).

Fix all pyright type errors across 19 source files: Array→np.ndarray in BAState/build_state, Sequence for empty-tuple defaults, explicit np.ndarray annotations for numpy bool scalars, type: ignore for h5py/torch/scipy stub gaps, and several narrowing asserts for Optional fields.

Pass --python to uv run in CI so the matrix version is actually used
instead of the .python-version pin (3.13).

Fix all pyright type errors across 19 source files: Array→np.ndarray in
BAState/build_state, Sequence for empty-tuple defaults, explicit np.ndarray
annotations for numpy bool scalars, type: ignore for h5py/torch/scipy stub
gaps, and several narrowing asserts for Optional fields.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tkclam
tkclam merged commit 9aa7131 into main Jun 11, 2026
@tkclam
tkclam deleted the docs/mkdocs-site branch June 11, 2026 12:35
@tkclam
tkclam restored the docs/mkdocs-site branch September 5, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant