-
Notifications
You must be signed in to change notification settings - Fork 189
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
Pin accesses to import alias node #554
Conversation
Codecov Report
@@ Coverage Diff @@
## main #554 +/- ##
==========================================
- Coverage 94.77% 94.77% -0.01%
==========================================
Files 235 235
Lines 23254 23273 +19
==========================================
+ Hits 22040 22058 +18
- Misses 1214 1215 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great to me, thanks for working on this.
lgtm |
Summary
Add ImportAssignment class extending Assignment to record assignments for import statements.
Test Plan
python -m unittest libcst.metadata.tests.test_scope_provider
python -m unittest libcst.codemod.visitors.tests.test_gather_unused_imports
Closes #485