Mercurial > hg-stable
changeset 43529:f5fcf7123a92
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
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 06 Nov 2019 15:24:44 -0500 |
parents | 667f56d73ceb |
children | fc19f8ab8199 |
files | mercurial/wireprototypes.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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