Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TYP: fix stubtest errors in numpy._core #28511

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 4 commits into from
Mar 14, 2025
Merged

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 <jhammudoglu@gmail.com>
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.