Commit 1678d378 authored by jvoisin's avatar jvoisin

Mark a comment as FP

parent 397a18b0
Pipeline #27036 passed with stages
in 14 minutes and 39 seconds
...@@ -63,7 +63,9 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser): ...@@ -63,7 +63,9 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
# the archive? # the archive?
self.unknown_member_policy = UnknownMemberPolicy.ABORT # type: UnknownMemberPolicy 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): def is_archive_valid(self):
"""Raise a ValueError is the current archive isn't a valid one.""" """Raise a ValueError is the current archive isn't a valid one."""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment