summaryrefslogtreecommitdiff
path: root/libmat2/harmless.py
diff options
context:
space:
mode:
authorjvoisin2018-10-12 11:58:01 +0200
committerjvoisin2018-10-12 14:32:09 +0200
commit2ba38dd2a18ab57ed7aac7ccdd6a42ff5e4d4eb7 (patch)
tree7fe800485f6ea47b21f63195c6dfc2f32e675bfe /libmat2/harmless.py
parentb832a5941458083dd6147efb652036552f95b786 (diff)
Bump mypy typing coverage
Diffstat (limited to '')
-rw-r--r--libmat2/harmless.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat2/harmless.py b/libmat2/harmless.py
index f646099..fad0ef8 100644
--- a/libmat2/harmless.py
+++ b/libmat2/harmless.py
@@ -1,5 +1,5 @@
1import shutil 1import shutil
2from typing import Dict 2from typing import Dict, Union
3from . import abstract 3from . import abstract
4 4
5 5
@@ -7,7 +7,7 @@ class HarmlessParser(abstract.AbstractParser):
7 """ This is the parser for filetypes that can not contain metadata. """ 7 """ This is the parser for filetypes that can not contain metadata. """
8 mimetypes = {'text/plain', 'image/x-ms-bmp'} 8 mimetypes = {'text/plain', 'image/x-ms-bmp'}
9 9
10 def get_meta(self) -> Dict[str, str]: 10 def get_meta(self) -> Dict[str, Union[str, dict]]:
11 return dict() 11 return dict()
12 12
13 def remove_all(self) -> bool: 13 def remove_all(self) -> bool: