summaryrefslogtreecommitdiff
path: root/libmat2/abstract.py
diff options
context:
space:
mode:
authorjvoisin2023-05-03 22:28:02 +0200
committerjvoisin2023-05-03 22:28:02 +0200
commit1b9608aecf25d5e58ee27b9b45afd7f77b883f8b (patch)
treebec20a8bc88dc81891a8c908090d3221cd0178b0 /libmat2/abstract.py
parent2ac8c24dac5431a39cdc091dec47ba594f509387 (diff)
Use proper type annotations instead of comments
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 1aff630..c531fbd 100644
--- a/libmat2/abstract.py
+++ b/libmat2/abstract.py
@@ -9,8 +9,8 @@ class AbstractParser(abc.ABC):
9 It might yield `ValueError` on instantiation on invalid files, 9 It might yield `ValueError` on instantiation on invalid files,
10 and `RuntimeError` when something went wrong in `remove_all`. 10 and `RuntimeError` when something went wrong in `remove_all`.
11 """ 11 """
12 meta_list = set() # type: Set[str] 12 meta_list: Set[str] = set()
13 mimetypes = set() # type: Set[str] 13 mimetypes: Set[str] = set()
14 14
15 def __init__(self, filename: str) -> None: 15 def __init__(self, filename: str) -> None:
16 """ 16 """