summaryrefslogtreecommitdiff
path: root/pylint/utils
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2020-05-03 17:29:24 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-05-03 18:24:25 +0200
commit3fffdf03d5a32e4a0d1b5216ea9d16dacacdaa6f (patch)
treee812974218d0b182c70221177dbdcd6710e47d05 /pylint/utils
parent8403b8961560591810a75f088fb72b8b052665ca (diff)
downloadpylint-git-3fffdf03d5a32e4a0d1b5216ea9d16dacacdaa6f.tar.gz
Fix trailing whitespaces and trailing newlines
Diffstat (limited to 'pylint/utils')
-rw-r--r--pylint/utils/pragma_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/utils/pragma_parser.py b/pylint/utils/pragma_parser.py
index 4b3fb301a..d2659fa44 100644
--- a/pylint/utils/pragma_parser.py
+++ b/pylint/utils/pragma_parser.py
@@ -17,7 +17,7 @@ OPTION_RGX = r"""
.*? # Anything (as little as possible)
\bpylint: # pylint word and column
\s* # Any number of whitespaces
- ([^;#\n]+)) # Anything except semicolon or hash or newline (it is the second matched group)
+ ([^;#\n]+)) # Anything except semicolon or hash or newline (it is the second matched group)
# and end of the first matched group
[;#]{0,1}""" # From 0 to 1 repetition of semicolon or hash
OPTION_PO = re.compile(OPTION_RGX, re.VERBOSE)