diff options
| author | Torsten Marek <tmarek@google.com> | 2013-06-17 19:57:05 +0200 |
|---|---|---|
| committer | Torsten Marek <tmarek@google.com> | 2013-06-17 19:57:05 +0200 |
| commit | ad7b0027ce59c7091a3dc0c45c184c265e825521 (patch) | |
| tree | 329254262587f366a75ccc7e4bad825a45bf96ec /lint.py | |
| parent | ba4599a918a35414061021a46dc0eb0e0dd59cc7 (diff) | |
| download | pylint-ad7b0027ce59c7091a3dc0c45c184c265e825521.tar.gz | |
Extend the line length check.
Diffstat (limited to 'lint.py')
| -rw-r--r-- | lint.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -31,7 +31,6 @@ from pylint.checkers import utils import sys import os -import re import tokenize from warnings import warn @@ -48,7 +47,7 @@ from astroid.__pkginfo__ import version as astroid_version from pylint.utils import (PyLintASTWalker, UnknownMessage, MessagesHandlerMixIn, ReportsHandlerMixIn, MSG_TYPES, expand_modules, - WarningScope, tokenize_module) + WarningScope, tokenize_module, OPTION_RGX) from pylint.interfaces import ILinter, IRawChecker, ITokenChecker, IAstroidChecker from pylint.checkers import (BaseTokenChecker, EmptyReport, table_lines_from_stats) @@ -60,7 +59,6 @@ from pylint import config from pylint.__pkginfo__ import version -OPTION_RGX = re.compile(r'\s*#.*\bpylint:(.*)') REPORTER_OPT_MAP = {'text': TextReporter, 'parseable': ParseableTextReporter, 'msvs': VSTextReporter, |
