1
0
Fork 0
mirror of synced 2025-07-04 04:17:29 +02:00

Fix the type annotations

This commit is contained in:
jvoisin 2023-01-28 15:57:20 +00:00
parent 1f73a16ef3
commit 39fb254e01
14 changed files with 81 additions and 77 deletions

View file

@ -2,7 +2,7 @@
import enum
import importlib
from typing import Optional, Union
from typing import Optional, Union, Dict
from . import exiftool, video
@ -66,8 +66,9 @@ CMD_DEPENDENCIES = {
},
}
def check_dependencies() -> dict[str, dict[str, bool]]:
ret = dict() # type: dict[str, dict]
def check_dependencies() -> Dict[str, Dict[str, bool]]:
ret = dict() # type: Dict[str, Dict]
for key, value in DEPENDENCIES.items():
ret[key] = {