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: python linting doesn't resolve imports when venv is activated #87

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

isandesh7
Copy link

Found solution here -

example -
source .venv/bin/activate

In the vim buffer pylint says package not found
Apply fix below, the error goes away

https://stackoverflow.com/questions/78432883/python-virtual-environment-support-in-neovim
https://gist.githubusercontent.com/Norbiox/652befc91ca0f90014aec34eccee27b2/raw/4dba4f206c675bf5230f2360123e7c6a76f2701d/.lua

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.

1 participant