HomePhabricator

pytype: stop excluding wireprotov2server.py

Authored by mharbison72.

Description

pytype: stop excluding wireprotov2server.py

This fixes:

File "/mnt/c/Users/Matt/hg/mercurial/wireprotov2server.py", line 584, in _capabilitiesv2:
    unsupported operand type(s) for item assignment: Set[bytes] [unsupported-operands]
  No attribute '__setitem__' on Set[bytes]
File "/mnt/c/Users/Matt/hg/mercurial/wireprotov2server.py", line 611, in _capabilitiesv2:
    No attribute 'append' on dict [attribute-error]
  In Union[List[bytes], List[nothing], dict]
Called from (traceback):
  line 543, in httpv2apidescriptor

Differential Revision: https://phab.mercurial-scm.org/D11919

Details

Committed
mharbison72Dec 13 2021, 4:42 PM
Differential Revision
D11919: pytype: stop excluding wireprotov2server.py
Parents
rHGdcdecec401ca: pytype: stop excluding stringutil.py
Branches
Unknown
Tags
Unknown