summaryrefslogtreecommitdiff
path: root/pylint/reporters/collecting_reporter.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/reporters/collecting_reporter.py')
-rw-r--r--pylint/reporters/collecting_reporter.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/pylint/reporters/collecting_reporter.py b/pylint/reporters/collecting_reporter.py
index 145c3c81b..fbd9eb46b 100644
--- a/pylint/reporters/collecting_reporter.py
+++ b/pylint/reporters/collecting_reporter.py
@@ -1,7 +1,12 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
+from typing import TYPE_CHECKING
+
from pylint.reporters.base_reporter import BaseReporter
+if TYPE_CHECKING:
+ from pylint.reporters.ureports.nodes import Section
+
class CollectingReporter(BaseReporter):
"""collects messages"""
@@ -15,4 +20,5 @@ class CollectingReporter(BaseReporter):
def reset(self) -> None:
self.messages = []
- _display = None
+ def _display(self, layout: "Section") -> None:
+ pass