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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| codemod_formatter_error_input.py.txt | ||
| test_codemod.py | ||
| test_codemod_cli.py | ||
| test_command_helpers.py | ||
| test_metadata.py | ||
| test_runner.py | ||