Skip to content

Commit

Permalink
Merge pull request #44 from rgant/fix/deprecation-warnings
Browse files Browse the repository at this point in the history
Resolve depreciation warning.
  • Loading branch information
fredcallaway authored Jul 23, 2019
2 parents 38896ab + 85253fa commit ea44030
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
class Mypy(PythonLinter):
"""Provides an interface to mypy."""

executable = "mypy"
regex = r'^[^:]+:(?P<line>\d+):((?P<col>\d+):)?\s*(?P<error_type>[^:]+):\s*(?P<message>.+)'
line_col_base = (1, 1)
tempfile_suffix = 'py'
Expand All @@ -56,7 +55,7 @@ class Mypy(PythonLinter):
def cmd(self):
"""Return a list with the command line to execute."""
cmd = [
self.executable,
'mypy',
'${args}',
'--show-column-numbers',
'--hide-error-context',
Expand Down

0 comments on commit ea44030

Please sign in to comment.