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

Removal of future imports #344

Closed
bgerrity opened this issue Jul 16, 2020 · 2 comments
Closed

Removal of future imports #344

bgerrity opened this issue Jul 16, 2020 · 2 comments

Comments

@bgerrity
Copy link

I was running the remove_unused_imports.RemoveUnusedImportsCommand codemod and noticed that it stripped my from __future__ import annotations import statements (which were being used by forward references in the module).

@jimmylai
Copy link
Contributor

@zsol has a fix for this. Target on commit the fix early next week.

@jimmylai
Copy link
Contributor

#353 fixed this and it was released in LibCST 0.3.9 last week.

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

No branches or pull requests

2 participants