diff options
Diffstat (limited to 'libmat2/__init__.py')
| -rw-r--r-- | libmat2/__init__.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libmat2/__init__.py b/libmat2/__init__.py index 2f20265..4974377 100644 --- a/libmat2/__init__.py +++ b/libmat2/__init__.py | |||
| @@ -2,14 +2,10 @@ | |||
| 2 | 2 | ||
| 3 | import enum | 3 | import enum |
| 4 | import importlib | 4 | import importlib |
| 5 | from typing import Optional, Union, Dict | 5 | from typing import Dict |
| 6 | 6 | ||
| 7 | from . import exiftool, video | 7 | from . import exiftool, video |
| 8 | 8 | ||
| 9 | # make pyflakes happy | ||
| 10 | assert Optional | ||
| 11 | assert Union | ||
| 12 | |||
| 13 | # A set of extension that aren't supported, despite matching a supported mimetype | 9 | # A set of extension that aren't supported, despite matching a supported mimetype |
| 14 | UNSUPPORTED_EXTENSIONS = { | 10 | UNSUPPORTED_EXTENSIONS = { |
| 15 | '.asc', | 11 | '.asc', |
| @@ -68,7 +64,7 @@ CMD_DEPENDENCIES = { | |||
| 68 | 64 | ||
| 69 | 65 | ||
| 70 | def check_dependencies() -> Dict[str, Dict[str, bool]]: | 66 | def check_dependencies() -> Dict[str, Dict[str, bool]]: |
| 71 | ret = dict() # type: Dict[str, Dict] | 67 | ret: Dict[str, Dict] = dict() |
| 72 | 68 | ||
| 73 | for key, value in DEPENDENCIES.items(): | 69 | for key, value in DEPENDENCIES.items(): |
| 74 | ret[key] = { | 70 | ret[key] = { |
