python-lsp / pylsp-mypy

Mypy plugin for the Python LSP Server.
MIT License
127 stars 35 forks source link

Fix virtualenv detection by using subprocess to execute mypy / dmypy #23

Closed meshy closed 2 years ago

meshy commented 2 years ago

This fixes virtualenv detection by switching from using mypy.api to calling mypy as a subprocess, as suggested in #17.

Successfully tested in neovim v0.5.1.

meshy commented 2 years ago

Thank you for running this in CI! I can see that there's a failure on Python 3.6. I'll have a look and see what I can do.

EDIT: Addressed in d0e35fe

meshy commented 2 years ago

Thank you!

Richardk2n commented 2 years ago

Released with 0.5.4