summaryrefslogtreecommitdiff
path: root/libmat2/abstract.py
diff options
context:
space:
mode:
authorjvoisin2018-10-12 11:58:01 +0200
committerjvoisin2018-10-12 14:32:09 +0200
commit2ba38dd2a18ab57ed7aac7ccdd6a42ff5e4d4eb7 (patch)
tree7fe800485f6ea47b21f63195c6dfc2f32e675bfe /libmat2/abstract.py
parentb832a5941458083dd6147efb652036552f95b786 (diff)
Bump mypy typing coverage
Diffstat (limited to 'libmat2/abstract.py')
-rw-r--r--libmat2/abstract.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat2/abstract.py b/libmat2/abstract.py
index 5bcaa69..0084796 100644
--- a/libmat2/abstract.py
+++ b/libmat2/abstract.py
@@ -1,6 +1,6 @@
1import abc 1import abc
2import os 2import os
3from typing import Set, Dict 3from typing import Set, Dict, Union
4 4
5assert Set # make pyflakes happy 5assert Set # make pyflakes happy
6 6
@@ -22,7 +22,7 @@ class AbstractParser(abc.ABC):
22 self.lightweight_cleaning = False 22 self.lightweight_cleaning = False
23 23
24 @abc.abstractmethod 24 @abc.abstractmethod
25 def get_meta(self) -> Dict[str, str]: 25 def get_meta(self) -> Dict[str, Union[str, dict]]:
26 pass # pragma: no cover 26 pass # pragma: no cover
27 27
28 @abc.abstractmethod 28 @abc.abstractmethod