-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
If the import module as name construct is used then it is name that is added to imports rather than module. I am definite that this must be fixed. Besides, in case of the from module import names statement names are added to imports as is. For example from sys import * will result in the * entry in the imports section. I propose to fix it by prepending the module name to the imported name. For example the following statement
from sklearn.model_selection import train_test_split
must be registered in the imports section as sklearn.model_selection.train_test_split (whereas now it is registered as train_test_split).
Metadata
Metadata
Assignees
Labels
No labels