Patchwork D7270: linelog: suppress annoying pytype warning about an ignored metaclass

login
register
mail settings
Submitter phabricator
Date Nov. 7, 2019, 8:32 a.m.
Message ID <99b50afde9453a9049685fd392ad5418@localhost.localdomain>
Download mbox | patch
Permalink /patch/42867/
State Not Applicable
Headers show

Comments

phabricator - Nov. 7, 2019, 8:32 a.m.
Closed by commit rHGacc4047c2194: linelog: suppress annoying pytype warning about an ignored metaclass (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7270?vs=17640&id=17686

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7270/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7270

AFFECTED FILES
  mercurial/linelog.py

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/mercurial/linelog.py b/mercurial/linelog.py
--- a/mercurial/linelog.py
+++ b/mercurial/linelog.py
@@ -53,7 +53,7 @@ 
         return iter(self.lines)
 
 
-class _llinstruction(object):
+class _llinstruction(object):  # pytype: disable=ignored-metaclass
 
     __metaclass__ = abc.ABCMeta