Method: pylint.checkers.similar.report_similarities
Calls: 3, Exceptions: 0, Paths: 1Back
Path 1: 3 calls (1.0)
Section (3)
LinterStats (3)
None (3)
1def report_similarities(
2 sect: Section,
3 stats: LinterStats,
4 old_stats: LinterStats | None,
5) -> None:
6 """Make a layout with some stats about duplication."""
7 lines = ["", "now", "previous", "difference"]
8 lines += table_lines_from_stats(stats, old_stats, "duplicated_lines")
9 sect.append(Table(children=lines, cols=4, rheaders=1, cheaders=1))