Gankra merged astral-sh/ruff#21173 · November 10, 2025 15:04 [ty] introduce local variables for `from` imports of submodules in `__init__.py(i)` #21173 This rips out the previous implementation in favour of a new implementation with 3 rules:froms are locals: a from..import can only define locals… +663 -198 36 comments