diff mercurial/util.py @ 43474: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 8ff1ecfadcd1
children 5d40317d42b7
line wrap: on
line diff
--- a/mercurial/util.py	Wed Nov 06 14:12:53 2019 -0500
+++ b/mercurial/util.py	Wed Nov 06 17:46:26 2019 -0500
@@ -1304,7 +1304,7 @@
     """
 
 
-class transactional(object):
+class transactional(object):  # pytype: disable=ignored-metaclass
     """Base class for making a transactional type into a context manager."""
 
     __metaclass__ = abc.ABCMeta