Skip to main content

Mypy linter for the Python Language Server

Project description

This is a plugin for the Palantir’s Python Language Server (

It, like mypy, requires Python 3.2 or newer.


Install into the same virtualenv as pyls itself.

pip install pyls-mypy


live_mode (default is True) provides type checking as you type.

As mypy is unaware of what file path is being checked, there are limitations with live_mode
  • Imports cannot be followed correctly

  • Stub files are not validated correctly

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:

            "enabled": true,
            "live_mode": false

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyls-mypy-0.1.8.tar.gz (20.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page