Mercurial > hg
comparison contrib/testparseutil.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 | 127cc1f72e70 |
children | ac3cb5e05a38 |
comparison
equal
deleted
inserted
replaced
43473:14e374d4c9ee | 43474:70d42e2ad9b4 |
---|---|
78 | 78 |
79 | 79 |
80 #################### | 80 #################### |
81 | 81 |
82 | 82 |
83 class embeddedmatcher(object): | 83 class embeddedmatcher(object): # pytype: disable=ignored-metaclass |
84 """Base class to detect embedded code fragments in *.t test script | 84 """Base class to detect embedded code fragments in *.t test script |
85 """ | 85 """ |
86 | 86 |
87 __metaclass__ = abc.ABCMeta | 87 __metaclass__ = abc.ABCMeta |
88 | 88 |