# HG changeset patch # User Augie Fackler # Date 1573067489 18000 # 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 -r 8492c6293c31 -r acc4047c2194 mercurial/linelog.py --- 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