wireprototypes: disable pytype where it's just confused
By inspection validnames is always a Set[bytes] here, but for some
reason pytype is convinced it's a bytes. Let's disable the error for now.
Differential Revision: https://phab.mercurial-scm.org/D7281
--- a/mercurial/wireprototypes.py Wed Nov 06 15:16:04 2019 -0500
+++ b/mercurial/wireprototypes.py Wed Nov 06 15:24:44 2019 -0500
@@ -404,7 +404,7 @@
)
% config,
hint=_(b'usable compression engines: %s')
- % b', '.sorted(validnames),
+ % b', '.sorted(validnames), # pytype: disable=attribute-error
)
return compengines