summaryrefslogtreecommitdiff
path: root/reporters/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'reporters/__init__.py')
-rw-r--r--reporters/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/reporters/__init__.py b/reporters/__init__.py
index 5c36af2..3e87aed 100644
--- a/reporters/__init__.py
+++ b/reporters/__init__.py
@@ -15,6 +15,8 @@
import sys, locale
+from pylint import utils
+
CMPS = ['=', '-', '+']
# py3k has no more cmp builtin
@@ -110,3 +112,6 @@ class BaseReporter(object):
pass
+def initialize(linter):
+ """initialize linter with reporters in this package """
+ utils.register_plugins(linter, __path__[0])