Skip to content

Warn when using "open" imports #1509

Description

@garyb

Include a copy-paste-able fix in the warning message that provides a version of the import with the used members selectively listed.

I had been thinking we could change the syntax for open imports and require import SomeModule (..), but upon reflection that's kinda arbitrary breakage - the warning that states its own fix should be sufficient.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions