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 0e7ec60 commit c70ca23Copy full SHA for c70ca23
pyls_mypy/plugin.py
@@ -3,8 +3,7 @@
3
from pyls import hookimpl
4
5
line_pattern = r"([^:]+):(?:(\d+):)?(?:(\d+):)? (\w+): (.*)"
6
-LIVE_MODE = r"live_mode"
7
-DEFAULT_LIVE_MODE = True
+
8
9
def parse_line(line, document=None):
10
'''
@@ -42,7 +41,7 @@ def parse_line(line, document=None):
42
41
43
@hookimpl
44
def pyls_lint(config, document):
45
- live_mode = config.plugin_settings('pyls_mypy').get(LIVE_MODE, DEFAULT_LIVE_MODE)
+ live_mode = config.plugin_settings('pyls_mypy').get('live_mode', True)
46
if live_mode:
47
args = ('--incremental',
48
'--show-column-numbers',
0 commit comments