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 hashes)