-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't workingchangelogChanges should be written to the changelog file.Changes should be written to the changelog file.
Milestone
Description
from _collections import *
from collections import *
print(defaultdict)Unimport works fine when it comes to finding the correct import module for the variables, but this doesn't help when it comes to clashing names.
The problem can be avoided by running unimport twice with the -r flag, allowing it to turn the above into
from _collections import defaultdict
from collections import defaultdictand then running again to remove the first unused import, but I think it should be able to do it in a single run without needing to run in twice.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingchangelogChanges should be written to the changelog file.Changes should be written to the changelog file.
Projects
Status
📋 Backlog