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 | b5f41f97aa0c66da62f6c1d6521f91c350a9ab4b (patch) | |
| tree | 8708be8af7764809c32eb6e6c4786deb613e9918 /utils.py | |
| parent | 3b19d873f3ed0ea8aee3a1e2692e86aa86b74e03 (diff) | |
| download | pylint-git-b5f41f97aa0c66da62f6c1d6521f91c350a9ab4b.tar.gz | |
Extend the line length check.
Diffstat (limited to 'utils.py')
| -rw-r--r-- | utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,7 @@ main pylint class """ +import re import sys import tokenize from warnings import warn @@ -62,6 +63,7 @@ _MSG_ORDER = 'EWRCIF' MSG_STATE_SCOPE_CONFIG = 0 MSG_STATE_SCOPE_MODULE = 1 +OPTION_RGX = re.compile(r'\s*#.*\bpylint:(.*)') # The line/node distinction does not apply to fatal errors and reports. _SCOPE_EXEMPT = 'FR' |
