We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Originally reported by: Antony Lee (BitBucket: anntzer, GitHub: @anntzer?)
#!python from abc import ABCMeta class C(metaclass=ABCMeta): pass def f(arg: ABCMeta): pass
Pylint doesn't detect either use of ABCMeta and warns that the import is unused.
I first created this issue on the astroid tracker (https://bitbucket.org/logilab/astroid/issue/14/spurious-unused-import-warning-when) but @PCManticore suggested that I move it here.
The text was updated successfully, but these errors were encountered:
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
Fix unused-import false positive with Python 3 metaclasses. Closes issue #143.
Sorry, something went wrong.
I just fix the first component of this issue. The part with annotations can't be fixed right now, I have to deal with https://bitbucket.org/logilab/astroid/issue/30/function-annotation-support first.
See #227 for the annotation issue.
No branches or pull requests
Originally reported by: Antony Lee (BitBucket: anntzer, GitHub: @anntzer?)
Pylint doesn't detect either use of ABCMeta and warns that the import is unused.
I first created this issue on the astroid tracker (https://bitbucket.org/logilab/astroid/issue/14/spurious-unused-import-warning-when) but @PCManticore suggested that I move it here.
The text was updated successfully, but these errors were encountered: