comparison tests/test-check-pytype.t @ 48487:333a2656e981

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
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 14 Dec 2021 17:25:46 -0500
parents 7caaefa48794
children 12a43f857a11
comparison
equal deleted inserted replaced
48486:7caaefa48794 48487:333a2656e981
30 mercurial/repoview.py # [attribute-error] 30 mercurial/repoview.py # [attribute-error]
31 mercurial/sslutil.py # [attribute-error] 31 mercurial/sslutil.py # [attribute-error]
32 mercurial/testing/storage.py # tons of [attribute-error] 32 mercurial/testing/storage.py # tons of [attribute-error]
33 mercurial/ui.py # [attribute-error], [wrong-arg-types] 33 mercurial/ui.py # [attribute-error], [wrong-arg-types]
34 mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error] 34 mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error]
35 mercurial/utils/procutil.py # [attribute-error], [module-attr], [bad-return-type]
36 mercurial/utils/memorytop.py # not 3.6 compatible 35 mercurial/utils/memorytop.py # not 3.6 compatible
37 mercurial/win32.py # [not-callable] 36 mercurial/win32.py # [not-callable]
38 mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error] 37 mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error]
39 mercurial/wireprotoserver.py # line 253, in _availableapis: No attribute '__iter__' on Callable[[Any, Any], Any] [attribute-error] 38 mercurial/wireprotoserver.py # line 253, in _availableapis: No attribute '__iter__' on Callable[[Any, Any], Any] [attribute-error]
40 mercurial/wireprotov1peer.py # [attribute-error] 39 mercurial/wireprotov1peer.py # [attribute-error]
66 > -x mercurial/sslutil.py \ 65 > -x mercurial/sslutil.py \
67 > -x mercurial/testing/storage.py \ 66 > -x mercurial/testing/storage.py \
68 > -x mercurial/thirdparty \ 67 > -x mercurial/thirdparty \
69 > -x mercurial/ui.py \ 68 > -x mercurial/ui.py \
70 > -x mercurial/unionrepo.py \ 69 > -x mercurial/unionrepo.py \
71 > -x mercurial/utils/procutil.py \
72 > -x mercurial/utils/memorytop.py \ 70 > -x mercurial/utils/memorytop.py \
73 > -x mercurial/win32.py \ 71 > -x mercurial/win32.py \
74 > -x mercurial/wireprotoframing.py \ 72 > -x mercurial/wireprotoframing.py \
75 > -x mercurial/wireprotoserver.py \ 73 > -x mercurial/wireprotoserver.py \
76 > -x mercurial/wireprotov1peer.py \ 74 > -x mercurial/wireprotov1peer.py \