We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 169076e commit 4169d69Copy full SHA for 4169d69
pyls_mypy/plugin.py
@@ -5,8 +5,9 @@
5
import logging
6
from mypy import api as mypy_api
7
from pyls import hookimpl
8
+from sys import platform
9
-line_pattern = r"([a-z]:[^:]+):(?:(\d+):)?(?:(\d+):)? (\w+): (.*)"
10
+line_pattern = r"([^:]+):(?:(\d+):)?(?:(\d+):)? (\w+): (.*)"
11
12
log = logging.getLogger(__name__)
13
@@ -41,7 +42,7 @@ def parse_line(line, document=None):
41
42
# There may be a better solution, but mypy does not provide end
43
'end': {'line': lineno, 'character': offset + 1}
44
},
- 'message': msg.replace("]", "]"),#Prevents spyder from messign it up
45
+ 'message': msg,
46
'severity': errno
47
}
48
if document:
0 commit comments