Skip to content

Commit

Permalink
Type delete such that it can be used as input to prune.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Oct 6, 2024
1 parent 2076a45 commit a9b4f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pex/cache/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def _delete_venvs(venv_dirs):

@contextmanager
def delete(pex_dirs):
# type: (Iterable[Union[UnzipDir, VenvDirs]]) -> Iterator[Iterator[AtomicCacheDir]]
# type: (Iterable[Union[UnzipDir, VenvDirs]]) -> Iterator[Iterator[Union[BootstrapDir, UserCodeDir, InstalledWheelDir]]]

yield dir_dependencies(pex_dirs)
_delete_zipapps(unzip_dirs=[pex_dir for pex_dir in pex_dirs if isinstance(pex_dir, UnzipDir)])
Expand Down

0 comments on commit a9b4f2b

Please sign in to comment.