This commit is contained in:
Kovid Goyal
2024-05-07 08:52:49 +05:30
parent 708a4c428c
commit d519807df2

View File

@@ -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__']: