HomePhabricator

pytype: stop excluding procutil.py

Authored by mharbison72.

Description

pytype: stop excluding procutil.py

This avoids these false warnings:

File "/mnt/c/Users/Matt/hg/mercurial/utils/procutil.py", line 78, in <module>:
    No attribute 'register' on Type[io.BufferedIOBase] [attribute-error]
File "/mnt/c/Users/Matt/hg/mercurial/utils/procutil.py", line 117, in <module>:
    No attribute 'register' on Type[io.IOBase] [attribute-error]
File "/mnt/c/Users/Matt/hg/mercurial/utils/procutil.py", line 770, in runbgcommandpy3:
    No attribute 'close' on int [attribute-error]
  In Union[IO[Union[bytes, str]], int]

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

Details

Committed
mharbison72Dec 14 2021, 5:25 PM
Differential Revision
D11927: pytype: stop excluding procutil.py
Parents
rHG7caaefa48794: pytype: stop excluding chgserver.py
Branches
Unknown
Tags
Unknown