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.
2 parents 38896ab + 85253fa commit ea44030Copy full SHA for ea44030
1 file changed
linter.py
@@ -34,7 +34,6 @@
34
class Mypy(PythonLinter):
35
"""Provides an interface to mypy."""
36
37
- executable = "mypy"
38
regex = r'^[^:]+:(?P<line>\d+):((?P<col>\d+):)?\s*(?P<error_type>[^:]+):\s*(?P<message>.+)'
39
line_col_base = (1, 1)
40
tempfile_suffix = 'py'
@@ -56,7 +55,7 @@ class Mypy(PythonLinter):
56
55
def cmd(self):
57
"""Return a list with the command line to execute."""
58
cmd = [
59
- self.executable,
+ 'mypy',
60
'${args}',
61
'--show-column-numbers',
62
'--hide-error-context',
0 commit comments