From 97bb5a65d50dccea4d1199a5fc5a261f568c1b3f Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Sat, 9 Jan 2016 22:09:03 +0200 Subject: [PATCH] Implement a dummy _display to satisfy API constraint. --- pylint/reporters/json.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pylint/reporters/json.py b/pylint/reporters/json.py index ce7970153..4065c4702 100644 --- a/pylint/reporters/json.py +++ b/pylint/reporters/json.py @@ -55,6 +55,9 @@ class JSONReporter(BaseReporter): def display_reports(self, _): """Don't do nothing in this reporter.""" + def _display(self, layout): + """Don't do nothing.""" + def register(linter): """Register the reporter classes with the linter."""