-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for mypy using WSL interpreter #110
Comments
If it's not feasible to support calling mypy under PyCharm's native WSL, then a fallback "mixed" solution could also be acceptable. |
I think it's feasible to call mypy under PyChams native WSL. I got the impression that it wasn't a big problem to adjust the Ruff plugin |
Actually, as a user, I just want to express: oh please, I'm hungry to have mypy there lol. |
@aploium to build the plugin you just have to checkout the PR code and run |
I've succeed to build the patched version, and manually set the correct |
finally, I modified the |
I have my repository and python interpreter set up in WSL 2. I would like to use Mypy in Pycharm, but I can't get it to work.
I have tried to use the mypy installation in the virtual environment installed in WSL and I have tried to install Mypy in Windows and use that on my WSL projects.
Neither work.
Would it be possible for the interpreter to find the mypy package in the project interpreter when that interpreter is set up on WSL?
Edit: It seems like the developer of Ruff plugin has found a good solution for this. Maybe there are possibilities of implementing the same logic? koxudaxi/ruff-pycharm-plugin#72
The text was updated successfully, but these errors were encountered: