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

Function warning_callback

mypy/stubtest.py:2409–2410  ·  view source on GitHub ↗
(msg: str)

Source from the content-addressed store, hash-verified

2407 sys.exit(1)
2408
2409 def warning_callback(msg: str) -> None:
2410 print(_style("warning:", color="yellow", bold=True), msg)
2411
2412 options.process_error_codes(error_callback=error_callback)
2413 options.process_incomplete_features(

Callers 1

Calls 2

printFunction · 0.85
_styleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…