Skip to content

TYP: resolve mypy ingores in core/indexing.py #47010

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 2 commits into from
May 25, 2022

Conversation

iasoon
Copy link
Contributor

@iasoon iasoon commented May 12, 2022

xref #37715

Notes: axis has to be passed as an argument to _tupleize_axis_indexer in order to assert that it is not None. Since this kind of decouples it from the _LocationIndexer class, I made it a standalone utility function.

@mroeschke mroeschke added the Typing type annotations, mypy/pyright type checking label May 25, 2022
@mroeschke mroeschke added this to the 1.5 milestone May 25, 2022
@mroeschke mroeschke merged commit 1812c6e into pandas-dev:main May 25, 2022
@mroeschke
Copy link
Member

Thanks @iasoon

yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants