4 ms·
Mypy has mypyd [1] to run fast live type checking. Things like pylsp-mypy [2] use it automatically by default. [1]: https://mypy.readthedocs.io/en/stable/mypy_
by amarshall 4y ago
Mypy has mypyd [1] to run fast live type checking. Things like pylsp-mypy [2] use it automatically by default.
[1]: https://mypy.readthedocs.io/en/stable/mypy_daemon.html https://mypy.readthedocs.io/en/stable/mypy_daemon.html
[2]: https://github.com/python-lsp/pylsp-mypy https://github.com/python-lsp/pylsp-mypy
- bfung 4y agoCool, didn’t know that!
- shabble 4y agoThe last time I actively looked into it (granted, some months ago), it was somewhat hindered by https://github.com/python/mypy/issues/9309 https://github.com/python/mypy/issues/9309 causing it to re-evaluate sources quite a lot during editing even with mypyd. I just had a quick check and can't obviously see if that has been fixed/worked around in pylsp-mypy, on the off-chance that you might know :)