This is an archive of the discontinued Mercurial Phabricator instance.

pytype: stop excluding

Authored by mharbison72 on Dec 14 2021, 4:10 PM.



This fixes:

File "/mnt/c/Users/Matt/hg/mercurial/", 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/", 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

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mharbison72 created this revision.Dec 14 2021, 4:10 PM
Alphare accepted this revision.Dec 15 2021, 5:24 AM
Alphare added a subscriber: Alphare.

FYI this is staged for removal, I just have to get around to finishing it.

This revision is now accepted and ready to land.Dec 15 2021, 5:24 AM
This revision was automatically updated to reflect the committed changes.