changeset 43520:acc4047c2194

linelog: suppress annoying pytype warning about an ignored metaclass This isn't actively hurting us right now, and it's not trivial to set up this metaclass correctly on both Python 2 and Python 3 without dragging in all of `six`, but we still get lots of typechecking goodness with this error suppressed. Differential Revision: https://phab.mercurial-scm.org/D7270
author Augie Fackler <augie@google.com>
date Wed, 06 Nov 2019 14:11:29 -0500
parents 8492c6293c31
children 14e374d4c9ee
files mercurial/linelog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/linelog.py	Wed Nov 06 14:10:09 2019 -0500
+++ b/mercurial/linelog.py	Wed Nov 06 14:11:29 2019 -0500
@@ -53,7 +53,7 @@
         return iter(self.lines)
 
 
-class _llinstruction(object):
+class _llinstruction(object):  # pytype: disable=ignored-metaclass
 
     __metaclass__ = abc.ABCMeta