(path: Path, lines: Iterable[str])
| 596 | |
| 597 | |
| 598 | def write_lines(path: Path, lines: Iterable[str]) -> None: |
| 599 | path.parent.mkdir(parents=True, exist_ok=True) |
| 600 | path.write_text(''.join(f'{line}\n' for line in lines)) |
| 601 | |
| 602 | |
| 603 | def write_category_exports( |