Fix mypy
This commit is contained in:
parent
00d728f6cc
commit
5c33b290ae
@ -47,8 +47,9 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
|
|||||||
|
|
||||||
def __init__(self, filename):
|
def __init__(self, filename):
|
||||||
super().__init__(filename)
|
super().__init__(filename)
|
||||||
self.archive_class = None # type: Optional[ArchiveClass]
|
# We ignore typing here because mypy is too stupid
|
||||||
self.member_class = None # type: Optional[ArchiveMember]
|
self.archive_class = None # type: ignore
|
||||||
|
self.member_class = None # type: ignore
|
||||||
|
|
||||||
# Those are the files that have a format that _isn't_
|
# Those are the files that have a format that _isn't_
|
||||||
# supported by MAT2, but that we want to keep anyway.
|
# supported by MAT2, but that we want to keep anyway.
|
||||||
|
Loading…
Reference in New Issue
Block a user