Skip to content

Change VenvInspectInformation.distributions to be type Iterable[metadata.Distribution] #629

@itsayellow

Description

@itsayellow

How would this feature be useful?

Change VenvInspectInformation.distributions in venv_inspect.py to be type Iterable[metadata.Distribution]. (Or whatever type importlib.metadata.distributions() returns.)

So we don't have to cast it to a list() which is unnecessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions