changeset 6630:f2b8e94d7afb

evolve: let pytype ignore system cbor module The better way to deal with this issue is to install cbor on CI images and let pytype check it as well (since it's quite small), but let's just ignore it for now and maybe consider other options later.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 01 Jan 2024 18:04:25 -0300
parents c3b3a0620f3b
children 0f8dbea4458e
files hgext3rd/evolve/state.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/state.py	Mon Jan 01 17:58:08 2024 -0300
+++ b/hgext3rd/evolve/state.py	Mon Jan 01 18:04:25 2024 -0300
@@ -26,7 +26,7 @@
     from .thirdparty import cbor
     cbor.__doc__  # trigger ImportError immediately
 except ImportError:
-    import cbor
+    import cbor  # pytype: disable=import-error
 
 from mercurial import (
     error,