summaryrefslogtreecommitdiff
path: root/checkers
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2012-08-22 11:42:40 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2012-08-22 11:42:40 +0200
commit436dce519b504ee0523c1d2dfe193f8b897a1cd2 (patch)
treefc429914e463b3c5abb3b22571e7f19d0e676cf8 /checkers
parent69bae2157f2049836e0d0c031f9bd36a2428fbca (diff)
downloadpylint-436dce519b504ee0523c1d2dfe193f8b897a1cd2.tar.gz
pylint fixes
Diffstat (limited to 'checkers')
-rw-r--r--checkers/__init__.py2
-rw-r--r--checkers/misc.py2
-rw-r--r--checkers/string_format.py3
3 files changed, 2 insertions, 5 deletions
diff --git a/checkers/__init__.py b/checkers/__init__.py
index 969066b..f1271e9 100644
--- a/checkers/__init__.py
+++ b/checkers/__init__.py
@@ -160,4 +160,4 @@ def package_load(linter, directory):
module.register(linter)
imported[basename] = 1
-__all__ = ('CheckerHandler', 'BaseChecker', 'initialize', 'package_load')
+__all__ = ('BaseChecker', 'initialize', 'package_load')
diff --git a/checkers/misc.py b/checkers/misc.py
index 7f09d40..e8918a0 100644
--- a/checkers/misc.py
+++ b/checkers/misc.py
@@ -17,7 +17,7 @@
Check source code is ascii only or has an encoding declaration (PEP 263)
"""
-import re, sys
+import re
from pylint.interfaces import IRawChecker
from pylint.checkers import BaseChecker
diff --git a/checkers/string_format.py b/checkers/string_format.py
index c420a60..62ccf51 100644
--- a/checkers/string_format.py
+++ b/checkers/string_format.py
@@ -13,12 +13,9 @@
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-
"""Checker for string formatting operations.
"""
-import string
from logilab import astng
from pylint.interfaces import IASTNGChecker
from pylint.checkers import BaseChecker