[Bug] unused typing
imports are not auto-fixed when pyupgrade option is selected
#866
Labels
bug
Something isn't working
Ruff version: 0.0.132
Ruff configuration: Default
Python version: 3.10
Simple reproduction
When I ran
ruff test.py --fix
, the file changed to:I would expect it to also remove unused imports
from typing import List
. As a workaround I run the command again to remove unused imports but it would be great if ruff can do it automatically.Let me know if there is anything I could do to help.
Thank you for this amazing package. It is super fast and works great!
The text was updated successfully, but these errors were encountered: