HomePhabricator

pytype: stop excluding webcommands.py

Authored by mharbison72.

Description

pytype: stop excluding webcommands.py

I have no idea why, but asserting that each value added to emptydirs is not
None didn't fix this:

File "/mnt/c/Users/Matt/hg/mercurial/hgweb/webcommands.py", line 621, in dirlist:
    Function bytes.join was called with the wrong arguments [wrong-arg-types]
         Expected: (self, iterable: Iterable[bytes])
  Actually passed: (self, iterable: List[None])

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

Details

Committed
mharbison72Dec 13 2021, 10:46 PM
Differential Revision
D11924: pytype: stop excluding webcommands.py
Parents
rHG8a075b679918: tests: drop an obsolete comment about a pytype failure
Branches
Unknown
Tags
Unknown