From b95794b5a5350b13e6136f38975eba498a84fe8c Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Fri, 11 Oct 2024 10:53:51 +0100 Subject: [PATCH] pyproject: Add venv to pyproject pyright and Zed use the venv setting in pyright to correctly determine the virtual env to use. --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4765da8..7bdda44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,8 @@ packages = ["mcp_python"] [tool.pyright] include = ["mcp_python", "tests"] typeCheckingMode = "strict" +venvPath = "." +venv = ".venv" [tool.ruff] select = ["E", "F", "I"]