Skip to content

gh-151428: Remove unused imports from stdlib#151478

Open
hugovk wants to merge 2 commits into
python:mainfrom
hugovk:3.16-rm-unused-imports
Open

gh-151428: Remove unused imports from stdlib#151478
hugovk wants to merge 2 commits into
python:mainfrom
hugovk:3.16-rm-unused-imports

Conversation

@hugovk

@hugovk hugovk commented Jun 14, 2026

Copy link
Copy Markdown
Member

Follow on from #151440 and #151442.

Also add Ruff F401 to help avoid this in the future, and exclude any files with false positives (rather than adding noqa comments).

Comment thread .pre-commit-config.yaml

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Pablo might need to update his "Attracts linker errors" line to "Attracts linker errors and unused imports," I think I see a pattern in the affected files ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants