mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
@@ -504,7 +504,7 @@ def safe_read(path: str) -> str:
|
|||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
||||||
def remove_pycache_only_folders():
|
def remove_pycache_only_folders() -> None:
|
||||||
folders_to_remove = []
|
folders_to_remove = []
|
||||||
for dirpath, folders, files in os.walk('.'):
|
for dirpath, folders, files in os.walk('.'):
|
||||||
if not files and folders == ['__pycache__']:
|
if not files and folders == ['__pycache__']:
|
||||||
|
|||||||
Reference in New Issue
Block a user