summaryrefslogtreecommitdiff
path: root/pylint/interfaces.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-14 20:27:23 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-15 09:29:56 +0200
commit88077431950f0854e16759e8619fcbb4173b708b (patch)
treedd6136164cc97e8e2c0826430f513ae5dd8ee0ff /pylint/interfaces.py
parent9841051f7cfa931dbe7643208910a162c3940d09 (diff)
downloadpylint-git-88077431950f0854e16759e8619fcbb4173b708b.tar.gz
Add handle_message in BaseReporter and add typing
Diffstat (limited to 'pylint/interfaces.py')
-rw-r--r--pylint/interfaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/interfaces.py b/pylint/interfaces.py
index e61a04928..1281843a8 100644
--- a/pylint/interfaces.py
+++ b/pylint/interfaces.py
@@ -91,7 +91,7 @@ class IAstroidChecker(IChecker):
class IReporter(Interface):
"""reporter collect messages and display results encapsulated in a layout"""
- def handle_message(self, msg):
+ def handle_message(self, msg) -> None:
"""Handle the given message object."""
def display_reports(self, layout):