pytype: ignore abc.ABCMeta metaclasses that don't work on py3
See 70d42e2ad9b4 in hg:
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.
--- a/hgext3rd/evolve/genericcaches.py Fri Nov 15 16:04:35 2019 -0800
+++ b/hgext3rd/evolve/genericcaches.py Mon Nov 18 14:33:59 2019 +0700
@@ -14,7 +14,7 @@
util,
)
-class incrementalcachebase(object):
+class incrementalcachebase(object): # pytype: disable=ignored-metaclass
"""base class for incremental cache from append only source
There are multiple append only data source we might want to cache
@@ -133,7 +133,7 @@
"""read the cachekey from bytes"""
return self._cachekeystruct.unpack(data)
-class changelogsourcebase(incrementalcachebase):
+class changelogsourcebase(incrementalcachebase): # pytype: disable=ignored-metaclass
"""an abstract class for cache sourcing data from the changelog
For this purpose it use a cache key covering changelog content.