pipx icon indicating copy to clipboard operation
pipx copied to clipboard

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

Open itsayellow opened this issue 4 years ago • 0 comments

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.

itsayellow avatar Feb 13 '21 05:02 itsayellow