##// END OF EJS Templates
pytype: stop excluding procutil.py...
Matt Harbison -
r49318:333a2656 default
parent child Browse files
Show More
@@ -75,7 +75,9 b' class LineBufferedWrapper(object):'
75 return res
75 return res
76
76
77
77
78 # pytype: disable=attribute-error
78 io.BufferedIOBase.register(LineBufferedWrapper)
79 io.BufferedIOBase.register(LineBufferedWrapper)
80 # pytype: enable=attribute-error
79
81
80
82
81 def make_line_buffered(stream):
83 def make_line_buffered(stream):
@@ -114,7 +116,9 b' class WriteAllWrapper(object):'
114 return total_written
116 return total_written
115
117
116
118
119 # pytype: disable=attribute-error
117 io.IOBase.register(WriteAllWrapper)
120 io.IOBase.register(WriteAllWrapper)
121 # pytype: enable=attribute-error
118
122
119
123
120 def _make_write_all(stream):
124 def _make_write_all(stream):
@@ -767,6 +771,7 b' else:'
767 raise
771 raise
768 finally:
772 finally:
769 if stdin_bytes is not None:
773 if stdin_bytes is not None:
774 assert not isinstance(stdin, int)
770 stdin.close()
775 stdin.close()
771 if not ensurestart:
776 if not ensurestart:
772 # Even though we're not waiting on the child process,
777 # Even though we're not waiting on the child process,
@@ -32,7 +32,6 b' mercurial/sslutil.py # [attribu'
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]
@@ -68,7 +67,6 b' development, but may be a hinderance for'
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 \
General Comments 0
You need to be logged in to leave comments. Login now