mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 15:44:22 -05:00
## Summary Originally I planned to feed this in as a `fix` but I realized that we probably don't want to be trying to resolve import suggestions while we're doing type inference. Thus I implemented this as a fallback when there's no fixes on a diagnostic, which can use the full lsp machinery. Fixes https://github.com/astral-sh/ty/issues/1552 ## Test Plan Works in the IDE, added some e2e tests.