-
-
Notifications
You must be signed in to change notification settings - Fork 133
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: mypy 0.990 #419
CI: mypy 0.990 #419
Conversation
@@ -1276,8 +1276,6 @@ class DataFrame(NDFrame, OpsMixin): | |||
@property | |||
def at(self): ... # Not sure what to do with this yet; look at source | |||
@property | |||
def bool(self) -> _bool: ... |
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.
declared as final in the implementation
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.
Looks good. Add some comments to explain some issues, and we should be good to go.
Can you also track which issues we can close because of this? (if there are any such issues)
@@ -822,7 +822,7 @@ def test_sqlalchemy_selectable() -> None: | |||
class Base(metaclass=sqlalchemy.orm.decl_api.DeclarativeMeta): | |||
__abstract__ = True | |||
|
|||
class Temp(Base): | |||
class Temp(Base): # type: ignore[misc] |
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.
can you add a comment here as to why the # type: ignore
is needed?
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.
I honestly don't understand why - I added the error reported by mypy
Are most of these due to inheritance? |
Yes, mypy seems now to be stricter about enforcing that a |
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.
Thanks @twoertwein
closes #336
xref #400