Created
August 14, 2022 00:31
-
-
Save gh640/50193fb972ea0ed036efeba9d327db18 to your computer and use it in GitHub Desktop.
Sample: Pyright settings to use a virtualenv with `pyproject.toml`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.pyright] | |
include = ["mypackage"] | |
pythonVersion = "3.10" | |
venvPath = "/path/to/poetry/virtualenvs" | |
venv = "venv_dir_name" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See: