summaryrefslogtreecommitdiff
path: root/libmat2/archive.py
diff options
context:
space:
mode:
authorjvoisin2019-07-20 15:28:39 +0200
committerjvoisin2019-07-20 16:05:55 +0200
commit5c33b290ae2727275ac4ba2128f17fa757f0e7c8 (patch)
tree6139d9e0576920706ed9c15cc272d5c21686df40 /libmat2/archive.py
parent00d728f6ccc373d682b0f1c3352c093030eee8c6 (diff)
Fix mypy
Diffstat (limited to 'libmat2/archive.py')
-rw-r--r--libmat2/archive.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmat2/archive.py b/libmat2/archive.py
index 15f9d49..9897c10 100644
--- a/libmat2/archive.py
+++ b/libmat2/archive.py
@@ -47,8 +47,9 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
47 47
48 def __init__(self, filename): 48 def __init__(self, filename):
49 super().__init__(filename) 49 super().__init__(filename)
50 self.archive_class = None # type: Optional[ArchiveClass] 50 # We ignore typing here because mypy is too stupid
51 self.member_class = None # type: Optional[ArchiveMember] 51 self.archive_class = None # type: ignore
52 self.member_class = None # type: ignore
52 53
53 # Those are the files that have a format that _isn't_ 54 # Those are the files that have a format that _isn't_
54 # supported by MAT2, but that we want to keep anyway. 55 # supported by MAT2, but that we want to keep anyway.