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

Function print_trouble

ci/run-clang-format.py:268–272  ·  view source on GitHub ↗
(prog: str, message: str, use_colors: bool)

Source from the content-addressed store, hash-verified

266
267
268def print_trouble(prog: str, message: str, use_colors: bool) -> None:
269 error_text = "error:"
270 if use_colors:
271 error_text = bold_red(error_text)
272 print("{}: {} {}".format(prog, error_text, message), file=sys.stderr)
273
274
275def main() -> int:

Callers 1

mainFunction · 0.85

Calls 3

bold_redFunction · 0.85
formatMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected