ruff
57e1ff82 - [`pyflakes`] Handle some common submodule import situations for `unused-import` (`F401`) (#20200)

Commit
78 days ago
[`pyflakes`] Handle some common submodule import situations for `unused-import` (`F401`) (#20200) # Summary The PR under review attempts to make progress towards the age-old problem of submodule imports, specifically with regards to their treatment by the rule [`unused-import` (`F401`)](https://docs.astral.sh/ruff/rules/unused-import/). Some related issues: - https://github.com/astral-sh/ruff/issues/60 - https://github.com/astral-sh/ruff/issues/4656 Prior art: - https://github.com/astral-sh/ruff/pull/13965 - https://github.com/astral-sh/ruff/pull/5010 - https://github.com/astral-sh/ruff/pull/5011 - https://github.com/astral-sh/ruff/pull/666 See the PR summary for a detailed description.
Author
Parents
Loading