MCPcopy Create free account
hub / github.com/FastLED/FastLED / report_failure

Function report_failure

ci/hooks/check-on-stop.py:108–113  ·  view source on GitHub ↗
(label: str, result: subprocess.CompletedProcess[str])

Source from the content-addressed store, hash-verified

106
107
108def report_failure(label: str, result: subprocess.CompletedProcess[str]) -> None:
109 print(f"{label}:", file=sys.stderr)
110 if result.stdout.strip():
111 print(result.stdout.strip(), file=sys.stderr)
112 if result.stderr.strip():
113 print(result.stderr.strip(), file=sys.stderr)
114
115
116def _parse_porcelain_paths(porcelain: str) -> list[str]:

Callers 1

mainFunction · 0.85

Calls 1

printFunction · 0.50

Tested by

no test coverage detected