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:
parent
9f5dffa159
commit
b95794b5a5
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ packages = ["mcp_python"]
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
include = ["mcp_python", "tests"]
|
include = ["mcp_python", "tests"]
|
||||||
typeCheckingMode = "strict"
|
typeCheckingMode = "strict"
|
||||||
|
venvPath = "."
|
||||||
|
venv = ".venv"
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
select = ["E", "F", "I"]
|
select = ["E", "F", "I"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue