dropbox / mypy-PyCharm-plugin

A simple plugin that allows running mypy from PyCharm and navigate between errors
Apache License 2.0
314 stars 14 forks source link

Automatically detect dmypy in virtualenv/conda #52

Open omry opened 4 years ago

omry commented 4 years ago

Using virtualenv or conda, the user needs to manually select dmypy which is a bit annoying. it would be great if the plugin could detect it automatically.

jkleckner commented 2 years ago

Yes, it is quite tedious to set up multiple virtual environments to use with a package and then to have to manually edit the path for each one and each time you change the environment for dmypy to be found there. It seems that the virtual env path should be either prepended or appended to the path. And I would think prepended.