Skip to content

Commit e488270

Browse files
authored
Merge pull request #21 from singulared/master
Fix mypy==0.700 compatibility.
2 parents c70ca23 + d3e4991 commit e488270

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyls_mypy/plugin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ def parse_line(line, document=None):
4343
def pyls_lint(config, document):
4444
live_mode = config.plugin_settings('pyls_mypy').get('live_mode', True)
4545
if live_mode:
46-
args = ('--incremental',
46+
args = ['--incremental',
4747
'--show-column-numbers',
4848
'--follow-imports', 'silent',
49-
'--command', document.source)
49+
'--command', document.source]
5050
else:
51-
args = ('--incremental',
51+
args = ['--incremental',
5252
'--show-column-numbers',
5353
'--follow-imports', 'silent',
54-
document.path)
54+
document.path]
5555

5656
report, errors, _ = mypy_api.run(args)
5757

0 commit comments

Comments
 (0)