ruff/crates/ruff_python_importer
Andrew Gallant da5eb85087 [ruff] Add API for splicing into an existing import statement
Basically, given a `from module import name1, name2, ...` statement,
we'd like to be able to insert another name in that list.

This new `Insertion::existing_import` API provides such
functionality. There isn't much to it, although we are careful
to try and avoid inserting nonsense for import statements
that are already invalid.
2025-09-17 13:59:28 -04:00
..
src [ruff] Add API for splicing into an existing import statement 2025-09-17 13:59:28 -04:00
Cargo.toml [ruff] Add API for splicing into an existing import statement 2025-09-17 13:59:28 -04:00