# HG changeset patch # User Anton Shestakov # Date 1704143065 10800 # Node ID f2b8e94d7afb0191aee7b70f1f7bdc5ba4524a8b # Parent c3b3a0620f3bc8824811d0e9a7641b0c74de7f3f 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. diff -r c3b3a0620f3b -r f2b8e94d7afb hgext3rd/evolve/state.py --- 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,