LibCST/libcst/codemod
Zsolt Dollenstein 4106e2a12d rename: Fix imports with aliases
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.
2024-11-29 09:22:34 +00:00
..
commands rename: Fix imports with aliases 2024-11-29 09:22:34 +00:00
tests fix certain matchers breaking under multiprocessing by initializing them late (#1204) 2024-09-25 11:29:54 +01:00
visitors Fix Literal parse error in RemoveImportsVisitor (#1130) 2024-05-03 22:36:20 +01:00
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_cli.py Clear warnings for each file in comemod cli (#1184) 2024-08-05 22:41:51 +01:00
_codemod.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_command.py Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
_context.py Support module and package names in the codemod context (#662) 2022-03-23 14:17:25 -04:00
_dummy_pool.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_runner.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_testing.py Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
_visitor.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00