From 1678d378562b0825707e08352d3cdc10e8a9c4f8 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 1 Sep 2019 18:51:09 +0200 Subject: [PATCH] Mark a comment as FP --- libmat2/archive.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libmat2/archive.py b/libmat2/archive.py index 9897c10..f00ed6e 100644 --- a/libmat2/archive.py +++ b/libmat2/archive.py @@ -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."""