Path 1: 3 calls (1.0)

Section (3)

LinterStats (3)

None (3)

1def report_total_messages_stats(
2    sect: Section,
3    stats: LinterStats,
4    previous_stats: LinterStats | None,
5) -> None:
6    """Make total errors / warnings report."""
7    lines = ["type", "number", "previous", "difference"]
8    lines += checkers.table_lines_from_stats(stats, previous_stats, "message_types")
9    sect.append(Table(children=lines, cols=4, rheaders=1))