diff mercurial/fancyopts.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 687b865b95ad
children 9d2b2df2c2ba
line wrap: on
line diff
--- a/mercurial/fancyopts.py	Wed Nov 06 14:12:53 2019 -0500
+++ b/mercurial/fancyopts.py	Wed Nov 06 17:46:26 2019 -0500
@@ -205,7 +205,7 @@
     return parsedopts, parsedargs
 
 
-class customopt(object):
+class customopt(object):  # pytype: disable=ignored-metaclass
     """Manage defaults and mutations for any type of opt."""
 
     __metaclass__ = abc.ABCMeta