changeset 4965:191ed83dbc07

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.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 18 Nov 2019 14:33:59 +0700
parents bb2042ff6444
children ba683c5fe932
files hgext3rd/evolve/genericcaches.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.