Skip to content
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

pyflake reports 'typing' module as unused despite annotations used #1097

Open
elig0n opened this issue Jul 30, 2020 · 0 comments
Open

pyflake reports 'typing' module as unused despite annotations used #1097

elig0n opened this issue Jul 30, 2020 · 0 comments

Comments

@elig0n
Copy link

@elig0n elig0n commented Jul 30, 2020

I have pyflakes 2.2.0 Python 3.8.3 and for python code which imports typing it is reported as unused throughout the file even though #type: annotations exist. This only happens in python-mode and not when running pyflakes directly against the file. Vim setting commenstring is # %s.

See also:
PEP 526 -- Syntax for Variable Annotations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.