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
parent 9f5dffa159
commit b95794b5a5

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"]