Skip to content

Commit b95794b

Browse files
committed
pyproject: Add venv to pyproject
pyright and Zed use the venv setting in pyright to correctly determine the virtual env to use.
1 parent 9f5dffa commit b95794b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ packages = ["mcp_python"]
2323
[tool.pyright]
2424
include = ["mcp_python", "tests"]
2525
typeCheckingMode = "strict"
26+
venvPath = "."
27+
venv = ".venv"
2628

2729
[tool.ruff]
2830
select = ["E", "F", "I"]

0 commit comments

Comments
 (0)