diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2012-08-22 11:42:40 +0200 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2012-08-22 11:42:40 +0200 |
| commit | bfc5ea47c96b3c91ff4a6e81a3dba93278bf60a1 (patch) | |
| tree | 0de2837fe80f3655e8fdcb7cd0703ba982fdc455 | |
| parent | 3e0151d22439c1b92bab406ff910e9153da97638 (diff) | |
| download | pylint-git-bfc5ea47c96b3c91ff4a6e81a3dba93278bf60a1.tar.gz | |
pylint fixes
| -rw-r--r-- | checkers/__init__.py | 2 | ||||
| -rw-r--r-- | checkers/misc.py | 2 | ||||
| -rw-r--r-- | checkers/string_format.py | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/checkers/__init__.py b/checkers/__init__.py index 969066b5b..f1271e901 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 7f09d404d..e8918a0c9 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 c420a604b..62ccf51ca 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 |
