Skip to main content

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

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)

Source distribution for dmypy-ls 1.13
File Size Uploaded
dmypy_ls-1.13.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dmypy-ls 1.13
File Interpreter ABI Platform
dmypy_ls-1.13-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.13 This release

2 release files

1.12

2 release files

1.11

2 release files

1.10

2 release files

1.9

2 release files

1.8

2 release files

1.7

2 release files

1.6

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page