Skip to content

CI: mypy error in pandas/core/indexes/datetimelike.py::_simple_new #37925

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

Closed
arw2019 opened this issue Nov 18, 2020 · 1 comment
Closed

CI: mypy error in pandas/core/indexes/datetimelike.py::_simple_new #37925

arw2019 opened this issue Nov 18, 2020 · 1 comment
Labels
Bug Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@arw2019
Copy link
Member

arw2019 commented Nov 18, 2020

Seeing this in a bunch of unrelated PRs (my own and others'):

pandas/core/indexes/datetimelike.py:776: error: Argument 1 to "_simple_new" of "DatetimeIndexOpsMixin" has incompatible type "Union[ExtensionArray, Any]"; expected "Union[DatetimeArray, TimedeltaArray, PeriodArray]"  [arg-type]
Found 1 error in 1 file (checked 1119 source files)
Performing static analysis using mypy DONE

I wonder if it's a bug on master?

@arw2019 arw2019 added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Nov 18, 2020
@arw2019
Copy link
Member Author

arw2019 commented Nov 18, 2020

Fixed by #37914. Closing

@arw2019 arw2019 closed this as completed Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

1 participant