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

Function _make_content

ci/tests/test_example_serial_checker.py:16–18  ·  view source on GitHub ↗

Build a FileContent matching what the runner passes to checkers.

(path: str, lines: list[str])

Source from the content-addressed store, hash-verified

14
15
16def _make_content(path: str, lines: list[str]) -> FileContent:
17 """Build a FileContent matching what the runner passes to checkers."""
18 return FileContent(path=path, lines=lines, content="\n".join(lines))
19
20
21class TestExampleSerialChecker(unittest.TestCase):

Calls 1

FileContentClass · 0.90

Tested by

no test coverage detected