MCPcopy
hub / github.com/python/mypy / run_check

Method run_check

mypy/test/testfinegrained.py:170–174  ·  view source on GitHub ↗
(self, server: Server, sources: list[BuildSource])

Source from the content-addressed store, hash-verified

168 return options
169
170 def run_check(self, server: Server, sources: list[BuildSource]) -> list[str]:
171 response = server.check(sources, export_types=False, is_tty=False, terminal_width=-1)
172 out = response["out"] or response["err"]
173 assert isinstance(out, str)
174 return out.splitlines()
175
176 def build(self, options: Options, sources: list[BuildSource]) -> list[str]:
177 try:

Callers 2

run_caseMethod · 0.95
perform_stepMethod · 0.95

Calls 3

isinstanceFunction · 0.85
checkMethod · 0.80
splitlinesMethod · 0.80

Tested by

no test coverage detected