Skip to content

Commit 37c45b0

Browse files
authored
strip line endings from message
1 parent 9a0cf26 commit 37c45b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Pylint(PythonLinter):
3131
regex = (
3232
r'^(?P<line>\d+):(?P<col>\d+):'
3333
r'(?P<code>(?:(?P<error>[FE])|(?P<warning>[CIWR]))\d+): '
34-
r'(?P<message>.*)'
34+
r'(?P<message>.*?)(?:\r?$)'
3535
)
3636
multiline = True
3737
line_col_base = (1, 0)

0 commit comments

Comments
 (0)