(path: Path, data: Any)
| 213 | |
| 214 | |
| 215 | def write_json(path: Path, data: Any) -> None: |
| 216 | path.parent.mkdir(parents=True, exist_ok=True) |
| 217 | path.write_text(json.dumps(data, ensure_ascii=False, indent=2), encoding="utf-8") |
| 218 | |
| 219 | |
| 220 | def count_text_lines(path: Path, skip_blank: bool = True) -> int: |
no outgoing calls
no test coverage detected