Skip to content

Conversation

jorenham
Copy link
Member

Partial port of numpy/numtype#221

@jorenham jorenham added 09 - Backport-Candidate PRs tagged should be backported 41 - Static typing numtype Isssue/PR related to numpy/numtype labels Mar 14, 2025
Copy link

Diff from mypy_primer, showing the effect of this PR on type check results on a corpus of open source code:

pandas (https://github.com/pandas-dev/pandas)
+ pandas/core/indexes/interval.py:1287: error: Unused "type: ignore" comment  [unused-ignore]

@charris charris merged commit 82610b4 into numpy:main Mar 14, 2025
74 checks passed
@charris
Copy link
Member

charris commented Mar 14, 2025

Thanks Joren.

@jorenham jorenham deleted the numtype/221 branch March 14, 2025 20:06
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Mar 14, 2025
charris added a commit that referenced this pull request Mar 15, 2025
…28521)

* TYP: stub ``numpy._core.umath``

Backport of numpy/numtype#123

* TYP: fix typing errors in ``numpy.lib._arrayterator_impl``

Ported from numpy/numtype#165

* TYP: fix signatures of ``ndarray.put`` and ``ndarray.view``

partial port of numpy/numtype#200

* TYP: fix typing errors in ``_core.fromnumeric``

Partial port of numpy/numtype#221

* TYP: fix typing errors in ``_core.function_base``

Partial port of numpy/numtype#221

* TYP: add missing implicit re-exports in ``_core.numeric``

Partial port of numpy/numtype#221

* STY: fix `E203` flake8 error

---------

Co-authored-by: jorenham <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
41 - Static typing numtype Isssue/PR related to numpy/numtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants