Skip to content

TYP: type excel util module #45014

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 7 commits into from
Dec 28, 2021
Merged

TYP: type excel util module #45014

merged 7 commits into from
Dec 28, 2021

Conversation

phofl
Copy link
Member

@phofl phofl commented Dec 22, 2021

  • Ensure all linting tests pass, see here for how to run them

Copy link
Member

@twoertwein twoertwein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to ignore the TypeVar comments, I'm not sure whether they will be useful

@twoertwein twoertwein added the Typing type annotations, mypy/pyright type checking label Dec 22, 2021
@jreback jreback added this to the 1.4 milestone Dec 27, 2021
@jreback
Copy link
Contributor

jreback commented Dec 27, 2021

one more rebase pls

@phofl
Copy link
Member Author

phofl commented Dec 28, 2021

Done

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm small comment



def maybe_convert_usecols(
usecols: str | list[int] | list[str] | usecols_func | None,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prob can share this with the parsers (followon, maybe put in _typing.py)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The configs there are a bit different unfortunately. Don't think we can share efficiently

@jreback jreback merged commit c3d3357 into pandas-dev:master Dec 28, 2021
@phofl phofl deleted the typ_excel branch December 28, 2021 16:44
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.

3 participants