Skip to content

unused-import when using import in function annotations #227

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

Closed
pylint-bot opened this issue May 2, 2014 · 2 comments
Closed

unused-import when using import in function annotations #227

pylint-bot opened this issue May 2, 2014 · 2 comments
Labels

Comments

@pylint-bot
Copy link

Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore)


#!python

from abc import ABCMeta

def f(arg: ABCMeta):
    pass

Reported in #143, requires https://bitbucket.org/logilab/astroid/issue/30/function-annotation-support.


@pylint-bot
Copy link
Author

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):


Issue #64 was marked as a duplicate of this issue.

@pylint-bot
Copy link
Author

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):


Solved in https://bitbucket.org/logilab/astroid/commits/115d966c681dc9c3887d7973af947d01f0072850.

msuozzo pushed a commit to msuozzo/pylint that referenced this issue Feb 18, 2022
Also, drop fossil script (created with old name).

Closes pylint-dev#227.
Closes pylint-dev#228.
Closes pylint-dev#229.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant