(file_path: Path, lines: List[str])
| 176 | |
| 177 | |
| 178 | def _save_report(file_path: Path, lines: List[str]) -> None: |
| 179 | file_path.parent.mkdir(parents=True, exist_ok=True) |
| 180 | # Ensure final newline |
| 181 | content = "\n".join(lines) |
| 182 | if content and not content.endswith("\n"): |
| 183 | content += "\n" |
| 184 | file_path.write_text(content, encoding="utf-8") |
| 185 | |
| 186 | |
| 187 | def _parse_header(line: str) -> Tuple[int, str]: |
no outgoing calls
no test coverage detected