pyproject: Add venv to pyproject

pyright and Zed use the venv setting in pyright to correctly determine
the virtual env to use.
This commit is contained in:
David Soria Parra 2024-10-11 10:53:51 +01:00
commit b95794b5a5
No known key found for this signature in database

View file

@ -23,6 +23,8 @@ packages = ["mcp_python"]
[tool.pyright]
include = ["mcp_python", "tests"]
typeCheckingMode = "strict"
venvPath = "."
venv = ".venv"
[tool.ruff]
select = ["E", "F", "I"]