Skip to content

Imports are listed incorrectly #3

@veloman-yunkan

Description

@veloman-yunkan

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions