Skip to content

TYP: check_untyped_defs core.tools.datetimes #32101

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 1 commit into from
Feb 20, 2020

Conversation

simonjayhawkins
Copy link
Member

pandas\core\tools\datetimes.py:299: error: Item "DatetimeIndex" of "Union[DatetimeArray, DatetimeIndex]" has no attribute "tz_convert"
pandas\core\tools\datetimes.py:310: error: Item "DatetimeIndex" of "Union[DatetimeArray, DatetimeIndex]" has no attribute "tz_localize"
pandas\core\tools\datetimes.py:829: error: Incompatible types in assignment (expression has type "str", variable has type "List[str]")
pandas\core\tools\datetimes.py:838: error: Incompatible types in assignment (expression has type "str", variable has type "List[Any]")
pandas\core\tools\datetimes.py:1010: error: Argument 1 to "append" of "list" has incompatible type "None"; expected "time"
pandas\core\tools\datetimes.py:1035: error: Argument 1 to "append" of "list" has incompatible type "None"; expected "time"

@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Feb 19, 2020
@jbrockmendel
Copy link
Member

LGTM

@WillAyd WillAyd added this to the 1.1 milestone Feb 20, 2020
@WillAyd WillAyd merged commit 96644d0 into pandas-dev:master Feb 20, 2020
@WillAyd
Copy link
Member

WillAyd commented Feb 20, 2020

Thanks @simonjayhawkins

@simonjayhawkins simonjayhawkins deleted the core.tools.datetimes branch February 20, 2020 09:40
roberthdevries pushed a commit to roberthdevries/pandas that referenced this pull request Mar 2, 2020
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