Mercurial > public > mercurial-scm > hg-stable
diff mercurial/templater.py @ 43522:70d42e2ad9b4
pytype: don't warn us about ignored-on-py3 metaclasses
We can remove this when we're Python 3-only, but for now it's just too
awkward to deal with and it's harmless.
Differential Revision: https://phab.mercurial-scm.org/D7272
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 06 Nov 2019 17:46:26 -0500 |
parents | d783f945a701 |
children | 5be909dbe385 |
line wrap: on
line diff
--- a/mercurial/templater.py Wed Nov 06 14:12:53 2019 -0500 +++ b/mercurial/templater.py Wed Nov 06 17:46:26 2019 -0500 @@ -611,7 +611,7 @@ return s[1:-1] -class resourcemapper(object): +class resourcemapper(object): # pytype: disable=ignored-metaclass """Mapper of internal template resources""" __metaclass__ = abc.ABCMeta