Mypy plugin for PYLS
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.
- 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:
"pyls":
{
"plugins":
{
"pyls_mypy":
{
"enabled": true,
"live_mode": false
}
}
}
Metadata
Release files for pyls-mypy 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyls-mypy-0.1.8.tar.gz | 20.1 kB | Without provenance | Details for pyls-mypy-0.1.8.tar.gz |
Release files / pyls-mypy-0.1.8.tar.gz
| Download URL | pyls-mypy-0.1.8.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fd83028961f0ca9eb3048b7a01cf42a9e3d46d8ea4935c1424c33da22c3eb03
|
|
BLAKE2b-256 checksum How to use checksums |
20bacf645c7deabc2cf082d0d7871a3a461a605afef700504c59771b1a8f56da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for pyls-mypy 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.