Skip to content

TYP: ALL_NUMPY_DTYPES mypy errors with numpy-1.20 #39066

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
Jan 9, 2021

Conversation

simonjayhawkins
Copy link
Member

prevents mypy errors

pandas/_testing/init.py:122: error: Unsupported operand types for + ("List[Union[ExtensionDtype, Union[str, dtype[Any]], Type[str], Type[float], Type[int], Type[complex], Type[bool], Type[object]]]" and "List[object]") [operator]
pandas/_testing/init.py:123: error: Unsupported operand types for + ("List[Union[ExtensionDtype, Union[str, dtype[Any]], Type[str], Type[float], Type[int], Type[complex], Type[bool], Type[object]]]" and "List[object]") [operator]
pandas/_testing/init.py:124: error: Unsupported operand types for + ("List[Union[ExtensionDtype, Union[str, dtype[Any]], Type[str], Type[float], Type[int], Type[complex], Type[bool], Type[object]]]" and "List[object]") [operator]

@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Jan 9, 2021
@simonjayhawkins simonjayhawkins added this to the 1.3 milestone Jan 9, 2021
@jreback jreback merged commit 66a30bd into pandas-dev:master Jan 9, 2021
@simonjayhawkins simonjayhawkins deleted the ALL_NUMPY_DTYPES branch January 10, 2021 09:23
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
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.

2 participants