-
Notifications
You must be signed in to change notification settings - Fork 8
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
False positive with typing.TypedDict? #120
Comments
@yakMM thanks for reporting, I'll have a look 👀 |
Did some digging: >>> foo.__bases__
(<class 'dict'>, ) because |
Thanks a lot, that was a fast fix 😍 |
This should also be ignored for the backported |
@ItsDrike good catch! I'll have a look. |
@ItsDrike version 0.16.5 is now out with the fix |
Thanks! |
Consider the following:
slotscheck running in stric mode (
require-subclass = true
) will flag bothfoo
andFoo
as missing slots, although TypedDict are not used as "real class" and don't support slots:Or should TypedDict support slots out of the box?
The text was updated successfully, but these errors were encountered: