-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Regression in 0.930 - Slots #11821
Labels
bug
mypy got something wrong
Comments
This happens because |
hauntsaninja
pushed a commit
that referenced
this issue
Dec 30, 2021
JukkaL
pushed a commit
that referenced
this issue
Jan 5, 2022
tushar-deepsource
pushed a commit
to DeepSourceCorp/mypy
that referenced
this issue
Jan 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
This error is incorrectly showing up on my class that inherits from Generic[V]. This is probably because it inherits from Protocol, which defines
__slots__ = ()
error: "Node" both defines "slots" and is used with "slots=True" [misc]
To Reproduce
Expected Behavior
This should not cause an error.
Actual Behavior
error: "Node" both defines "slots" and is used with "slots=True" [misc]
Your Environment
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: