msherry / flycheck-pycheckers

Multiple syntax checker for Python in Emacs, using Flycheck
GNU General Public License v3.0
63 stars 23 forks source link

fix(project_root): Prefer venv as root over vcs #40

Closed captain-kark closed 4 years ago

captain-kark commented 4 years ago

If you use pyenv and set flycheck-pycheckers-venv-root to "~/.pyenv/versions/", you can get a lot more use out of the root project detection features by preferring the virtual environment directory over the vcs one.

captain-kark commented 4 years ago

On second thought, this isn't really that useful.

captain-kark commented 4 years ago

On second thought, #50 wasn't working on my local linux branch until I re-introduced this change. This is definitely useful to have since python virtual environment naming hints are expected to match the current directory name anyway.

msherry commented 4 years ago

This seems reasonable to me, thanks for reopening.