1
0
mirror of synced 2024-11-22 01:04:23 +01:00

Mark a comment as FP

This commit is contained in:
jvoisin 2019-09-01 18:51:09 +02:00
parent 397a18b0cc
commit 1678d37856

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."""