Skip to content

Comments

fix: python linting doesn't resolve imports when venv is activated#87

Open
isandesh7 wants to merge 3 commits intojosean-dev:mainfrom
isandesh7:main
Open

fix: python linting doesn't resolve imports when venv is activated#87
isandesh7 wants to merge 3 commits intojosean-dev:mainfrom
isandesh7:main

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