MCPcopy Create free account
hub / github.com/python/mypy / fail

Function fail

mypy/dmypy/client.py:282–284  ·  view source on GitHub ↗
(msg: str)

Source from the content-addressed store, hash-verified

280
281
282def fail(msg: str) -> NoReturn:
283 print(msg, file=sys.stderr)
284 sys.exit(2)
285
286
287ActionFunction = Callable[[argparse.Namespace], None]

Callers 7

mainFunction · 0.70
do_startFunction · 0.70
wait_for_serverFunction · 0.70
do_statusFunction · 0.70
do_stopFunction · 0.70
do_killFunction · 0.70
check_outputFunction · 0.70

Calls 2

printFunction · 0.85
exitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…