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

Method transform

ci/util/output_formatter.py:129–136  ·  view source on GitHub ↗
(self, line: str)

Source from the content-addressed store, hash-verified

127 pass # No per-instance setup needed
128
129 def transform(self, line: str) -> str | None:
130 if not line:
131 return line
132 # Check if this line should be suppressed
133 if should_suppress_line(line):
134 return None # Signal to skip this line
135 elapsed: float = get_elapsed()
136 return f"{elapsed:.2f} {line}"
137
138 def end(self) -> None:
139 return None

Callers

nothing calls this directly

Calls 2

should_suppress_lineFunction · 0.85
get_elapsedFunction · 0.85

Tested by

no test coverage detected