mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 05:20:49 -05:00
This also adds a new `ModuleName::relative_to` public API to help with this. Kudos to @AlexWaygood for the meat of this patch! Ref https://github.com/astral-sh/ruff/pull/18830#discussion_r2161770991