mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
* Create helper functions to abstract away usage of RemoveImportsVisitor's remove unused import functions in CodemodCommand * Create helper functions to abstract away usage of AddImportsVisitor's add needed import functions in CodemodCommand * Add tests for CodemodCommand helper functions Add comprehensive tests for the new helper methods: - remove_unused_import - remove_unused_import_by_node - add_needed_import Tests cover simple cases, from imports, aliased imports, relative imports, and combined add/remove operations. |
||
|---|---|---|
| .. | ||
| commands | ||
| tests | ||
| visitors | ||
| __init__.py | ||
| _cli.py | ||
| _codemod.py | ||
| _command.py | ||
| _context.py | ||
| _dummy_pool.py | ||
| _runner.py | ||
| _testing.py | ||
| _visitor.py | ||