enable ruff rule: unused-import (F401) #9181
Labels
Affects: Developers
Lead: @scottbarnes
Issues overseen by Scott (Community Imports)
Priority: 3
Issues that we can consider at our leisure. [managed]
PR here: #9182
Problem
I noticed we have quite a few instances of unused imports in our python code.
Perhaps some have side effects but many do not appear to have any side effects.
I think it would be good hygiene for our codebase to enable ruff to unused imports and disable it per line as needed.
Evidence / Screenshot
Relevant URL(s)
https://docs.astral.sh/ruff/rules/unused-import/
Reproducing the bug
Context
Notes from this Issue's Lead
Proposal & constraints
Related files
Stakeholders
The text was updated successfully, but these errors were encountered: