summaryrefslogtreecommitdiff
path: root/reporters
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2013-06-19 15:16:50 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2013-06-19 15:16:50 +0200
commite9d1c500f67da73d3a067aebe3c6ce350ce710c5 (patch)
tree1b35735f26b5389816422ff392caff3bc28878ff /reporters
parent9c137bc05c54e958f3932bdba7748e5fd6c2432f (diff)
downloadpylint-e9d1c500f67da73d3a067aebe3c6ce350ce710c5.tar.gz
move EmptyReport exception to pylint.utils and refactor imports so pylint.utils stop importing checkers/reporters
Diffstat (limited to 'reporters')
-rw-r--r--reporters/__init__.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/reporters/__init__.py b/reporters/__init__.py
index fa09c1a..5c36af2 100644
--- a/reporters/__init__.py
+++ b/reporters/__init__.py
@@ -1,4 +1,3 @@
-# Copyright (c) 2003-2010 Sylvain Thenault (thenault@gmail.com).
# Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE).
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
@@ -32,10 +31,7 @@ def diff_string(old, new):
return diff_str
-class EmptyReport(Exception):
- """raised when a report is empty and so should not be displayed"""
-
-class BaseReporter:
+class BaseReporter(object):
"""base class for reporters
symbols: show short symbolic names for messages.