MCPcopy Index your code
hub / github.com/python/mypy / run

Function run

mypy/api.py:68–74  ·  view source on GitHub ↗
(args: list[str])

Source from the content-addressed store, hash-verified

66
67
68def run(args: list[str]) -> tuple[str, str, int]:
69 # Lazy import to avoid needing to import all of mypy to call run_dmypy
70 from mypy.main import main
71
72 return _run(
73 lambda stdout, stderr: main(args=args, stdout=stdout, stderr=stderr, clean_exit=True)
74 )
75
76
77def run_dmypy(args: list[str]) -> tuple[str, str, int]:

Callers

nothing calls this directly

Calls 2

mainFunction · 0.90
_runFunction · 0.85

Tested by

no test coverage detected