Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for pyls-mypy #232

Merged
merged 10 commits into from
Mar 23, 2021
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