diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2012-09-19 17:36:47 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2012-09-19 17:36:47 +0200 |
commit | d4d8fe742e8860df3a699a4999be133a1fc8db42 (patch) | |
tree | 0d616ccb2d84a926c1dba1f67c4181a3956cd27f /lint.py | |
parent | fcc1a91b50f564627716230ffc159381b241c07f (diff) | |
download | pylint-d4d8fe742e8860df3a699a4999be133a1fc8db42.tar.gz |
lint fixes
Diffstat (limited to 'lint.py')
-rw-r--r-- | lint.py | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -47,20 +47,20 @@ from logilab.common.__pkginfo__ import version as common_version from logilab.astng import MANAGER, nodes, ASTNGBuildingException from logilab.astng.__pkginfo__ import version as astng_version -from pylint.utils import PyLintASTWalker, UnknownMessage, MessagesHandlerMixIn,\ - ReportsHandlerMixIn, MSG_TYPES, expand_modules +from pylint.utils import (PyLintASTWalker, UnknownMessage, MessagesHandlerMixIn, + ReportsHandlerMixIn, MSG_TYPES, expand_modules) from pylint.interfaces import ILinter, IRawChecker, IASTNGChecker -from pylint.checkers import BaseRawChecker, EmptyReport, \ - table_lines_from_stats -from pylint.reporters.text import TextReporter, ParseableTextReporter, \ - VSTextReporter, ColorizedTextReporter +from pylint.checkers import (BaseRawChecker, EmptyReport, + table_lines_from_stats) +from pylint.reporters.text import (TextReporter, ParseableTextReporter, + VSTextReporter, ColorizedTextReporter) from pylint.reporters.html import HTMLReporter from pylint import config from pylint.__pkginfo__ import version -OPTION_RGX = re.compile('\s*#*\s*pylint:(.*)') +OPTION_RGX = re.compile(r'\s*#*\s*pylint:(.*)') REPORTER_OPT_MAP = {'text': TextReporter, 'parseable': ParseableTextReporter, 'msvs': VSTextReporter, |