diff --git a/publish.py b/publish.py index 6d68bd0c8..af44a8266 100755 --- a/publish.py +++ b/publish.py @@ -504,7 +504,7 @@ def safe_read(path: str) -> str: return '' -def remove_pycache_only_folders(): +def remove_pycache_only_folders() -> None: folders_to_remove = [] for dirpath, folders, files in os.walk('.'): if not files and folders == ['__pycache__']: