Skip to content
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

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

Merged

Conversation

captain-kark
Copy link
Contributor

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
Copy link
Contributor Author

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

@captain-kark captain-kark deleted the prefer-venv-over-vcs-for-project-root branch August 4, 2019 09:39
@captain-kark captain-kark restored the prefer-venv-over-vcs-for-project-root branch April 13, 2020 12:30
@captain-kark captain-kark reopened this Apr 13, 2020
@captain-kark
Copy link
Contributor Author

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
Copy link
Owner

msherry commented Apr 14, 2020

This seems reasonable to me, thanks for reopening.

@msherry msherry merged commit 467f9b9 into msherry:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants