Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class PythonLanguageClient extends AutoLanguageClient {
"Make sure to install `pyls` 0.19 or newer by running:\n" +
"```\n" +
`${python} -m pip install 'python-language-server[all]'\n` +
`${python} -m pip install git+https://github.com/tomv564/pyls-mypy.git\n` +
"```",
})
}
Expand Down
20 changes: 20 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,26 @@
}
}
},
"pyls_mypy": {
"title": "MyPy",
"type": "object",
"properties": {
"enabled": {
"title": "Enabled",
"type": "boolean",
"order": 1,
"default": true,
"description": "Enable or disable MyPy."
},
"live_mode": {
"title": "Live mode",
"type": "boolean",
"order": 1,
"default": true,
"description": "Turn on live mode. If disabled, mypy linters on file save. Note: Linting on file save may not work on all machines."
}
}
},
"flake8": {
"title": "Flake8",
"type": "object",
Expand Down