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

Function report_missing

mypy/stubutil.py:160–163  ·  view source on GitHub ↗
(mod: str, message: str | None = "", traceback: str = "")

Source from the content-addressed store, hash-verified

158
159
160def report_missing(mod: str, message: str | None = "", traceback: str = "") -> None:
161 if message:
162 message = " with error: " + message
163 print(f"{mod}: Failed to import, skipping{message}")
164
165
166def fail_missing(mod: str, reason: ModuleNotFoundReason) -> None:

Callers 2

walk_packagesFunction · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…