Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea44030 commit a920800Copy full SHA for a920800
1 file changed
linter.py
@@ -34,7 +34,7 @@
34
class Mypy(PythonLinter):
35
"""Provides an interface to mypy."""
36
37
- regex = r'^[^:]+:(?P<line>\d+):((?P<col>\d+):)?\s*(?P<error_type>[^:]+):\s*(?P<message>.+)'
+ regex = r'^(\w:)?[^:]+:(?P<line>\d+):((?P<col>\d+):)?\s*(?P<error_type>[^:]+):\s*(?P<message>.+)'
38
line_col_base = (1, 1)
39
tempfile_suffix = 'py'
40
default_type = const.WARNING
0 commit comments