Including proper typing

This commit is contained in:
José Manuel Barroso Galindo
2023-09-16 00:43:45 +02:00
committed by GitHub
parent a11a4f53bd
commit c09a64e6aa

View File

@@ -521,7 +521,7 @@ extra_content_late_installers = {
def install_empty_folder(url: str, target_dir: str):
touch_folder(f'{target_dir}/{url}')
def install_file(path_and_url: str, target_dir: str):
def install_file(path_and_url: Tuple[str, str], target_dir: str):
if len(path_and_url) != 2:
raise ValueError("Wrong path_and_url value: " + str(path_and_url))
path, url = path_and_url