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

Method _format_banner

ci/util/crash_trace_decoder.py:289–301  ·  view source on GitHub ↗

Wrap decoded output in a visual banner.

(body_lines: list[str])

Source from the content-addressed store, hash-verified

287
288 @staticmethod
289 def _format_banner(body_lines: list[str]) -> list[str]:
290 """Wrap decoded output in a visual banner."""
291 sep = "\u2550" * 51 # box-drawing double horizontal
292 out: list[str] = [
293 "",
294 sep,
295 " CRASH DETECTED \u2014 Decoded Stack Trace",
296 sep,
297 ]
298 out.extend(body_lines)
299 out.append(sep)
300 out.append("")
301 return out

Callers 1

_decodeMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected