# HG changeset patch # User Augie Fackler # Date 2019-11-06 19:11:29 # Node ID acc4047c21942e937cd65533f5821f9e879b673b # Parent 8492c6293c318bcd30ea459624b3fa1a7b70ef0f 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 diff --git a/mercurial/linelog.py b/mercurial/linelog.py --- a/mercurial/linelog.py +++ b/mercurial/linelog.py @@ -53,7 +53,7 @@ class annotateresult(object): return iter(self.lines) -class _llinstruction(object): +class _llinstruction(object): # pytype: disable=ignored-metaclass __metaclass__ = abc.ABCMeta