Mypy linter for the Python Language Server
Project description
This is a plugin for the Palantir’s Python Language Server (https://github.com/palantir/python-language-server)
It, like mypy, requires Python 3.2 or newer.
Installation
Install into the same virtualenv as pyls itself.
pip install pyls-mypy
Configuration
live_mode (default is True) provides type checking as you type. This writes a tempfile every time a check is done.
Turning off live_mode means you must save your changes for mypy diagnostics to update correctly.
Depending on your editor, the configuration should be roughly like this:
"pyls": { "plugins": { "pyls_mypy": { "enabled": true, "live_mode": true } } }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mypy-ls-0.2.1.tar.gz
(19.9 kB
view hashes)