ruff/crates/ruff_linter
Andrew Gallant 880a867696 [ruff] Move Insertion abstraction out of ruff_linter
This refactors the importer abstraction to use a shared
`Insertion`. This is mostly just moving some code around
with some slight tweaks.

The plan here is to keep the rest of the importing code
in `ruff_linter` and then write something ty-specific on
top of `Insertion`. This ends up sharing some code, but
not as much as would be ideal. In particular, the
`ruff_linter` imported is pretty tightly coupled with
ruff's semantic model. So to share the code, we'd need to
abstract over that.
2025-09-17 13:59:28 -04:00
..
resources [pycodestyle] Fix E301 to only trigger for functions immediately within a class (#19768) 2025-09-16 11:00:07 -04:00
src [ruff] Move Insertion abstraction out of ruff_linter 2025-09-17 13:59:28 -04:00
Cargo.toml [ruff] Move Insertion abstraction out of ruff_linter 2025-09-17 13:59:28 -04:00