-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
False positive error when subclassing List
type
#15040
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
Labels
bug
mypy got something wrong
Comments
This is probably due to #6042: Lines 2363 to 2372 in 0f09be4
Can take a look @ilevkivskyi? Since Changing -class ListOfStrMeta(typing):
+class ListOfStrMeta(ABCMeta): eliminates the error, though it's probably wrong since |
Yes, this is due to the fact that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
To Reproduce
Expected Behavior
No errors should appear
Actual Behavior
Error from the code above:
Your Environment
mypy.ini
(and other config files):cc @sobolevn
The text was updated successfully, but these errors were encountered: