Skip to content

Reorganize imports doesn't understand __all__ semantics #8

@mcepl

Description

@mcepl

Say your project only has 1 test.py file that looks like this:

from package import some_name

__all__ = ["some_name"]

After reorganizing imports the from ... import ... line is gone. It should stay.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions