Skip to content

🏷️ sparse: overhauled stubs for diags_array, eye_array, and their matrix equivalents #733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Jul 18, 2025
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8018eb3
:label: `sparse`: overhauled stubs for `diags_array`, `eye_array`, an…
julvdb Jul 9, 2025
a90d414
Removed accidental push of VSCode settings
julvdb Jul 9, 2025
1c9d444
Added type aliases and cleaned up overloads
julvdb Jul 9, 2025
4314cc6
Removed the strict typing on diagonal offsets
julvdb Jul 9, 2025
a5e06f3
Renamed typing of input arrays for `_construct.pyi` functions + repla…
julvdb Jul 9, 2025
5f50692
Improved type -related stubs for sequences of Python types
julvdb Jul 14, 2025
5c83eac
Workaround for mypy errors regarding TypeAlias
julvdb Jul 14, 2025
3aec622
Formatted with ruff
julvdb Jul 14, 2025
3c287a4
Gave up on type hinting Python lists accurately, resorted to union of…
julvdb Jul 14, 2025
5808bf5
Cleaned up unused type variables + changed back to original _ToArray*D
julvdb Jul 16, 2025
f643769
Improved type aliases + removed VSCode settings
JulVandenBroeck Jul 17, 2025
119cb70
Formatted with `ruff` + `known dtype` -> `known`
JulVandenBroeck Jul 17, 2025
235fcc1
Restructured `_construct.pyi` and cleaned up comments
julvdb Jul 17, 2025
30bc0f1
Forgot substitution of `coo_array` with type alias
julvdb Jul 17, 2025
b89ed9a
Added `random_state` again
julvdb Jul 17, 2025
2d5c278
Fixed missing diags overloads, still some false positives...
julvdb Jul 18, 2025
1614193
Fixed signatures of block_array
julvdb Jul 18, 2025
d35128e
Fixed bmat signatures
julvdb Jul 18, 2025
e23c6c0
Added missing comma in comment
julvdb Jul 18, 2025
a3ba142
Added TODOs + moved type aliases together
julvdb Jul 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading