()
| 57 | |
| 58 | |
| 59 | def parse_args() -> argparse.Namespace: |
| 60 | parser = argparse.ArgumentParser(description=__doc__) |
| 61 | parser.add_argument("--input", type=Path, required=True, help="Path to the Vale JSON report.") |
| 62 | parser.add_argument("--output", type=Path, required=True, help="Destination path for the HTML report.") |
| 63 | return parser.parse_args() |
| 64 | |
| 65 | |
| 66 | def load_alerts(report: Path) -> list[dict[str, object]]: |