It leverages mypy.dmypy_server instead of the slow cli interface.
First run takes same time as mypy cli, but next are super fast as mypy.dmypy_server only reload the changed file.
It supports diagnostics only.
Status
On works on Open and Save for now
The on Change could be implemented if the mypy FineGrainedBuildManager uses BuildSource of the dmypy_server instead of always reread file from disk…
Install
$ pip install --user dmypy-ls
vim-lspconfig
lua << EOF
require("lspconfig.configs")["dmypyls"] = {
default_config = {
cmd = { 'dmypy-ls' },
filetypes = { 'python' },
root_dir = lspconfig.util.root_pattern('pyproject.toml', 'setup.py', 'setup.cfg', 'requirements.txt', 'Pipfile'),
single_file_support = true,
},
}
require("lspconfip").dmypyls.setup({})
EOF
Metadata
Release files for dmypy-ls 1.13
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 |
|---|---|---|---|---|
| dmypy_ls-1.13.tar.gz | 5.5 kB | Without provenance | Details for dmypy_ls-1.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dmypy_ls-1.13-py3-none-any.whl | Python 3 | none | any | Details for dmypy_ls-1.13-py3-none-any.whl |
Total release size: 13.2 kB
Release files / dmypy_ls-1.13.tar.gz
| Download URL | dmypy_ls-1.13.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f647132122e08b3a1694634584f09781c82608742a1007fa3250ba1d8479e546
|
|
BLAKE2b-256 checksum How to use checksums |
f15f92e5d7f5230d36a475b7e15d6a7d369316e5c8d31ca680d86786c3b0f946
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / dmypy_ls-1.13-py3-none-any.whl
| Download URL | dmypy_ls-1.13-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9ab51cef603bfce6d7fd7e33e73860ca06a51bae9390ba6682c3f86df3b6788
|
|
BLAKE2b-256 checksum How to use checksums |
f13f613f28cfe4175a8c9e35cdf9f6970e3d22242be6a0b74e8020d849a1fbd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for dmypy-ls 1.13
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.