Skip to content

Instantly share code, notes, and snippets.

@gh640
Created August 14, 2022 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gh640/50193fb972ea0ed036efeba9d327db18 to your computer and use it in GitHub Desktop.
Save gh640/50193fb972ea0ed036efeba9d327db18 to your computer and use it in GitHub Desktop.
Sample: Pyright settings to use a virtualenv with `pyproject.toml`
[tool.pyright]
include = ["mypackage"]
pythonVersion = "3.10"
venvPath = "/path/to/poetry/virtualenvs"
venv = "venv_dir_name"
@gh640
Copy link
Author

gh640 commented Aug 14, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment