[flake8-annotations] Remove unused import in example (ANN401) by Cjkjvfnby · Pull Request #20000 · astral-sh/ruff (original) (raw)
Summary
Remove unused import in the "Use instead" example.
Test Plan
It's just text description, no test needed
approved these changes Aug 20, 2025
ntBre changed the title
[ruff] Improve ANN401 description [flake8-annotations] Remove unused import in example (ANN401)
dcreager added a commit that referenced this pull request
- main: (29 commits)
[ty] add docstrings to completions based on type (#20008)
[
pyupgrade] Avoid reporting__future__features as unnecessary when they are used (UP010) (#19769) [flake8-use-pathlib] Add fixes forPTH102andPTH103(#19514) [ty] correctly ignore field specifiers when not specified (#20002)Option::unwrapis now const (#20007) [ty] Re-arrange "list modules" implementation for Salsa caching [ty] Test "list modules" versus "resolve module" in every mdtest [ty] Wire up "list modules" API to make module completions work [ty] Tweak some completion tests [ty] Add "list modules" implementation [ty] Lightly exposeFileModuleandNamespacePackagefields [ty] Add some more helper routines toModulePath[ty] Fix a bug when convertingModulePathtoModuleName[ty] Split out another constructor forModuleName[ty] Add stub-file tests to existing module resolver [ty] Expose some routines in the module resolver [ty] Add more path helper functions [flake8-annotations] Remove unused import in example (ANN401) (#20000) [ty] distinguish base conda from child conda (#19990) [ty] Fix server hang (#19991) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})