src/pqc_lint/reporters/base.py
273 B · 16 lines · python Raw
1 """Reporter base class."""
2
3 from __future__ import annotations
4
5 from abc import ABC, abstractmethod
6
7 from pqc_lint.findings import ScanReport
8
9
10 class Reporter(ABC):
11 format_name: str = ""
12
13 @abstractmethod
14 def render(self, report: ScanReport) -> str:
15 ...
16