Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.1k
Call dynamic class hook on generic classes#16052
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
sobolevn 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.
LGTM! Thanks!
Let's wait for one more review, because we are clearly very opinioned about this feature :)
flaeppe commentedSep 5, 2023
Yes indeed, we're quite biased here |
According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
sobolevn commentedSep 19, 2023
Congrats@flaeppe on your first mypy contribution :) |
Fixes:#8359
CC@sobolevn
get_dynamic_class_hook()will now additionally be called for generic classes with parameters. e.g.