MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / report_section

Function report_section

tools/lint/python_stubs.py:38–42  ·  view source on GitHub ↗
(summary: str, title: str, log_path: str)

Source from the content-addressed store, hash-verified

36
37
38def report_section(summary: str, title: str, log_path: str) -> str:
39 lines = [f"<details><summary>{summary}</summary>", "", f"`{title}`", "````"]
40 lines.append(read_file(log_path))
41 lines.extend(["````", "</details>", ""])
42 return "\n".join(lines)
43
44
45def main():

Callers 1

mainFunction · 0.85

Calls 4

read_fileFunction · 0.85
appendMethod · 0.45
extendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected