-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update mypy to 1.16.0 #14194
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
Update mypy to 1.16.0 #14194
Conversation
>>> import types
>>> types.SimpleNamespace
<class 'types.SimpleNamespace'>
>>> types.SimpleNamespace.__setattr__
<slot wrapper '__setattr__' of 'types.SimpleNamespace' objects>
|
|
Maybe from python/mypy#18325 |
This comment has been minimized.
This comment has been minimized.
Add a `# type: ignore`. Helps with python#14194
Should help with python#14194
Should help with python#14194
Helps with python#14194
Should help with python#14194
* Add a few `Self` return annotations. * Add a few `# type: ignore[override]`. * Add a few `@deprecated` annotations. Should help with python#14194
Should help with python#14194
|
I don't have a capacity for this right now, sorry :( |
Should help with #14194
* Add a few `Self` return annotations. * Add a few `# type: ignore[override]`. * Add a few `@deprecated` annotations. Should help with #14194
Should help with #14194
Should help with #14194
Add a `# type: ignore`. Helps with #14194
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
srittau
left a comment
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 everybody! Good to see so many false mypy/stubtest errors to go away.
|
Thanks, everyone! I was too tired to fix this all by myself, awesome to have such a helpful community :) |
Let's see what will happen :)