[Type] ndarray typing 5: Pyright stubs for quadrants types and NDArray subscript syntax#415
Conversation
53e876a to
88da207
Compare
|
Opus 4.6 review: PR Review: hp/typing-t4-5-pyright-stubsSummaryThis PR adds hand-written CorrectnessStubs vs. runtime
Missing from stubs
Stub signature consistency
.gitignore changeChange: Assessment: Correct. Hand-written stubs live in Test filestest_ndarray_type.py
test_primitive_types.py
Pyright reports 0 errors on both test files. Suggestions for improvement
ConclusionNo blocking issues. The stubs align with the runtime, the |
88da207 to
c85d624
Compare
24584de to
cb8f4a0
Compare
c85d624 to
dce1413
Compare
cb8f4a0 to
9899efb
Compare
dce1413 to
07105fa
Compare
20ce46d to
5b02e64
Compare
07105fa to
4bc16f1
Compare
5b02e64 to
bbc0f0b
Compare
4bc16f1 to
9164694
Compare
bbc0f0b to
3a1b4f5
Compare
9164694 to
4cc54f8
Compare
Add .pyi stub files for primitive_types, ndarray_type, utils, annotations, and compound_types so that Pyright/mypy can type-check code using quadrants types. Update .gitignore to only ignore generated stubs in stubs/quadrants/_lib/. Add pyright test for primitive dtype annotations and NDArray subscript syntax.
3a1b4f5 to
9bbc16b
Compare
4cc54f8 to
3ec7e28
Compare
Add .pyi stub files for primitive_types, ndarray_type, utils, annotations, and compound_types so that Pyright/mypy can type-check code using quadrants types. Update .gitignore to only ignore generated stubs in stubs/quadrants/_lib/. Add pyright test for primitive dtype annotations and NDArray subscript syntax.
Issue: #
Brief Summary
copilot:summary
Walkthrough
copilot:walkthrough