mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
When renaming `a.b` -> `c.d`, in imports like `import a.b as x` the as_name wasn't correctly removed even though references to `x` were renamed to `c.d`. This PR makes the codemod remove the `x` asname in these cases. |
||
|---|---|---|
| .. | ||
| commands | ||
| tests | ||
| visitors | ||
| __init__.py | ||
| _cli.py | ||
| _codemod.py | ||
| _command.py | ||
| _context.py | ||
| _dummy_pool.py | ||
| _runner.py | ||
| _testing.py | ||
| _visitor.py | ||