super fast mypy language server
Project description
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
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
dmypy_ls-1.13.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file dmypy_ls-1.13.tar.gz
.
File metadata
- Download URL: dmypy_ls-1.13.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f647132122e08b3a1694634584f09781c82608742a1007fa3250ba1d8479e546 |
|
MD5 | 57c4e520c6ae90e3c29ea03c79c6cdcf |
|
BLAKE2b-256 | f15f92e5d7f5230d36a475b7e15d6a7d369316e5c8d31ca680d86786c3b0f946 |
File details
Details for the file dmypy_ls-1.13-py3-none-any.whl
.
File metadata
- Download URL: dmypy_ls-1.13-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9ab51cef603bfce6d7fd7e33e73860ca06a51bae9390ba6682c3f86df3b6788 |
|
MD5 | 556c852a741a33224d051f97aea9aeb9 |
|
BLAKE2b-256 | f13f613f28cfe4175a8c9e35cdf9f6970e3d22242be6a0b74e8020d849a1fbd9 |