matangover / mypyls

Mypy language server: runs mypy on Python code to provide type checking, go to definition, and hover.
MIT License
34 stars 5 forks source link

Exclude options in mypy.ini aren't understood by mypyls due to pinned version #11

Closed harshita-gupta closed 3 years ago

harshita-gupta commented 3 years ago

I'm guessing that's because this ext is pinned to mypy .800, and exclude is a .812 option. Is there a reason that the mypy version on this ext is pinned?

harshita-gupta commented 3 years ago

Ah, solved my own issue by looking @ #3.

Btw you don't need to clone the repo to update mypy – simply update mypy in the mypyls virtualenv (~/.mypyls/bin/pip install -U mypy if you used the default path).

This did the trick for me!

matangover commented 3 years ago

Thanks :) I'm happy this fixed it for you. By the way, would you be willing to beta test a new version of the extension? I modified it so that it works with mypy's built in daemon instead of the custom mypyls. This way pinning it to a specific version will no longer be needed. But I would like for someone apart from me to test it before I release it, because it's a major change.

harshita-gupta commented 3 years ago

Yes, would be happy to!

matangover commented 3 years ago

Thank you! I'll send it in the next few days.

matangover commented 3 years ago

Hi @harshita-gupta here is the beta version, I'll be happy if you could test it on your machine