mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 04:45:01 +00:00
![]() ## Summary Fixes https://github.com/astral-sh/ruff/issues/15989 Red Knot failed to resolve relative imports if the importing module is located at a search path root. The issue was that the module resolver returned an `Err(TooManyDots)` as soon as the parent of the current module is `None` (which is the case for a module at the search path root). However, this is incorrect if a `tail` (a module name) exists. |
||
---|---|---|
.. | ||
basic.md | ||
builtins.md | ||
conditional.md | ||
conflicts.md | ||
errors.md | ||
invalid_syntax.md | ||
relative.md | ||
stubs.md | ||
tracking.md |