1
0
Fork 0

Mark a comment as FP

This commit is contained in:
jvoisin 2019-09-01 18:51:09 +02:00
parent 397a18b0cc
commit 1678d37856
1 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,9 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
# the archive?
self.unknown_member_policy = UnknownMemberPolicy.ABORT # type: UnknownMemberPolicy
self.is_archive_valid()
# The LGTM comment is to mask a false-positive,
# see https://lgtm.com/projects/g/jvoisin/mat2/
self.is_archive_valid() # lgtm [py/init-calls-subclass]
def is_archive_valid(self):
"""Raise a ValueError is the current archive isn't a valid one."""