-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Erroneous inherit-non-class error when inheriting typing.Collection #2570
Comments
This appears to happen with all (or most) of the generics in |
Thanks for reporting a bug! |
Not reproducible in the current version. The related issue 2568 with typing generic is still a problem, though. |
I can still reproduce it on master:
|
Related to #2377 This issue seems to be fixed when testing with the latest pylint version. |
Steps to reproduce
run pylint on the following:
Current behavior
E0239: Inheriting 'Collection', which is not a class. (inherit-non-class)
Expected behavior
Don't raise an error.
Collection
is a class:pylint --version output
Edit: I have reproduced this on master (9734bae)
The text was updated successfully, but these errors were encountered: