Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pyright): use activated virtual environment if possible
Problem: Pyright will use system python by default, even if we already have a virtual environment activated. Solution: Check current if VIRTUAL_ENV exists in environment variable, if so, set the default pythonPath with the binary inside.
- Loading branch information