pyright use virtualenv

last updated: Oct 20, 2023

To get pyright to use a virtualenv named .venv in your project's directory:

[tool.pyright]
venvPath='.'
venv=".venv"
exclude=['.venv']

Here's a list of configuration variables you can use in that section

↑ up