mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 23:54:36 -05:00
This works by adding a third module resolution mode that lets the caller opt into _some_ shadowing of modules that is otherwise not allowed (for `typing` and `typing_extensions`). Fixes astral-sh/ty#1658