# HG changeset patch # User Augie Fackler # Date 1573071884 18000 # Node ID f5fcf7123a92904f92755518dab3fe21ddc22944 # Parent 667f56d73ceb6750367db134e919e56ef8106285 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 diff -r 667f56d73ceb -r f5fcf7123a92 mercurial/wireprototypes.py --- 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