This is an archive of the discontinued Mercurial Phabricator instance.

pytype: stop excluding wireprotoserver.py
ClosedPublic

Authored by mharbison72 on Dec 15 2021, 3:47 PM.

Details

Summary

The config entry is a 2 part tuple, which has __iter__():

File "/mnt/c/Users/Matt/hg/mercurial/wireprotoserver.py", line 253, in _availableapis:
    No attribute '__iter__' on Callable[[Any, Any], Any] [attribute-error]
  In Union[Callable[[Any, Any, Any, Any, Any], None], Callable[[Any, Any], Any]]
File "/mnt/c/Users/Matt/hg/mercurial/wireprotoserver.py", line 253, in _availableapis:
    No attribute '__iter__' on Callable[[Any, Any, Any, Any, Any], None] [attribute-error]
  In Union[Callable[[Any, Any, Any, Any, Any], None], Callable[[Any, Any], Any]]

Diff Detail

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

Event Timeline

mharbison72 created this revision.Dec 15 2021, 3:47 PM
Alphare accepted this revision.Dec 17 2021, 6:00 AM
This revision is now accepted and ready to land.Dec 17 2021, 6:00 AM
This revision was automatically updated to reflect the committed changes.