Method: pylint.reporters.base_reporter.BaseReporter.display_reports
Calls: 112, Exceptions: 0, Paths: 1Back
Path 1: 112 calls (1.0)
EvaluationSection (109) Section (3)
1def display_reports(self, layout: Section) -> None:
2 """Display results encapsulated in the layout tree."""
3 self.section = 0
4 if layout.report_id:
5 if isinstance(layout.children[0].children[0], Text):
6 layout.children[0].children[0].data += f" ({layout.report_id})"
7 else:
8 raise ValueError(f"Incorrect child for {layout.children[0].children}")
9 self._display(layout)