diff options
| author | jvoisin | 2023-01-28 15:57:20 +0000 |
|---|---|---|
| committer | jvoisin | 2023-01-28 15:57:20 +0000 |
| commit | 39fb254e019c920516bb317d4b48a8de7cac850e (patch) | |
| tree | 5a5397fe318b8b73f6ebfdb9d1d6c0b64bbda0a3 /libmat2/__init__.py | |
| parent | 1f73a16ef36d1a8e771a0b3695818d18e095486b (diff) | |
Fix the type annotations
Diffstat (limited to 'libmat2/__init__.py')
| -rw-r--r-- | libmat2/__init__.py | 7 |
1 files changed, 4 insertions, 3 deletions
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 @@ | |||
| 2 | 2 | ||
| 3 | import enum | 3 | import enum |
| 4 | import importlib | 4 | import importlib |
| 5 | from typing import Optional, Union | 5 | from typing import Optional, Union, Dict |
| 6 | 6 | ||
| 7 | from . import exiftool, video | 7 | from . import exiftool, video |
| 8 | 8 | ||
| @@ -66,8 +66,9 @@ CMD_DEPENDENCIES = { | |||
| 66 | }, | 66 | }, |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | def check_dependencies() -> dict[str, dict[str, bool]]: | 69 | |
| 70 | ret = dict() # type: dict[str, dict] | 70 | def check_dependencies() -> Dict[str, Dict[str, bool]]: |
| 71 | ret = dict() # type: Dict[str, Dict] | ||
| 71 | 72 | ||
| 72 | for key, value in DEPENDENCIES.items(): | 73 | for key, value in DEPENDENCIES.items(): |
| 73 | ret[key] = { | 74 | ret[key] = { |
