Skip to content

Instantly share code, notes, and snippets.

@br4instormer
Created April 21, 2024 12:47
Show Gist options
  • Save br4instormer/ebf1bafdfa1a14a2efcee5c99aa9d2c3 to your computer and use it in GitHub Desktop.
Save br4instormer/ebf1bafdfa1a14a2efcee5c99aa9d2c3 to your computer and use it in GitHub Desktop.
Pylance project config to work with virtualenv
{
"python.analysis.extraPaths": [
"venv/lib/python3.12/site-packages"
],
"python.defaultInterpreterPath": "${workspaceFolder}/venv/bin/python"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment