diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-05-03 17:29:24 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-05-03 18:24:25 +0200 |
commit | 3fffdf03d5a32e4a0d1b5216ea9d16dacacdaa6f (patch) | |
tree | e812974218d0b182c70221177dbdcd6710e47d05 /pylint/utils | |
parent | 8403b8961560591810a75f088fb72b8b052665ca (diff) | |
download | pylint-git-3fffdf03d5a32e4a0d1b5216ea9d16dacacdaa6f.tar.gz |
Fix trailing whitespaces and trailing newlines
Diffstat (limited to 'pylint/utils')
-rw-r--r-- | pylint/utils/pragma_parser.py | 2 |
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) |