-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: Upgrade mypy to 0.990 #49626
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
CI: Upgrade mypy to 0.990 #49626
Conversation
@@ -1646,10 +1646,12 @@ def __array_ufunc__(self, ufunc: np.ufunc, method: str, *inputs, **kwargs): | |||
|
|||
|
|||
class ExtensionArraySupportsAnyAll(ExtensionArray): | |||
def any(self, *, skipna: bool = True) -> bool: | |||
def any(self, *, skipna: bool = True) -> bool: # type: ignore[empty-body] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option I think is to make these abstract methods - I haven't checked if that's viable, and maybe not something you'd want to handle here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be ok with doing that, but would like to keep things separated
i upgraded mypy to 0.990 the other day and now im getting
update downgrading to 0.982 didn't make the error go away, so no idea whats going on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @rhshadrach merge when ready
Thanks @phofl |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.