MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / status

Function status

scripts/doctor.py:40–43  ·  view source on GitHub ↗
(ok: bool, label: str, detail: str = "")

Source from the content-addressed store, hash-verified

38
39
40def status(ok: bool, label: str, detail: str = "") -> None:
41 mark = "OK" if ok else "WARN"
42 suffix = f" - {detail}" if detail else ""
43 print(f"[{mark}] {label}{suffix}")
44
45
46def module_available(name: str) -> bool:

Callers 7

check_pythonFunction · 0.85
check_importsFunction · 0.85
check_env_fileFunction · 0.85
check_env_groupFunction · 0.85
check_pathsFunction · 0.85
check_optional_toolsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected