summaryrefslogtreecommitdiff
path: root/pylint/reporters/json.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/reporters/json.py')
-rw-r--r--pylint/reporters/json.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/reporters/json.py b/pylint/reporters/json.py
index 100ed5264..7d630e92e 100644
--- a/pylint/reporters/json.py
+++ b/pylint/reporters/json.py
@@ -24,8 +24,8 @@ class JSONReporter(BaseReporter):
name = "json"
extension = "json"
- def __init__(self, output=sys.stdout):
- BaseReporter.__init__(self, output)
+ def __init__(self, output=sys.stdout, config=None):
+ super().__init__(output, config)
self.messages = []
def handle_message(self, msg):