From 39fb254e019c920516bb317d4b48a8de7cac850e Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 28 Jan 2023 15:57:20 +0000 Subject: Fix the type annotations --- libmat2/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libmat2/__init__.py') diff --git a/libmat2/__init__.py b/libmat2/__init__.py index 762686f..2f20265 100644 --- a/libmat2/__init__.py +++ b/libmat2/__init__.py @@ -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] = { -- cgit v1.3