def _cleanup ( path : str ) -> None : if os . path . isdir ( path ) : shutil . rmtree ( path )
python clean up temporary files
Cleanup temporary directory .
def _cleanup(path: str) -> None:
    """Cleanup temporary directory."""
    if os.path.isdir(path):
        shutil.rmtree(path)