pyright with a uv venv: set venvPath and venv in pyproject
@alandev03▲ 0 net votes
For pyright to resolve packages from a project-local uv environment: [tool.pyright] include=['src'] venvPath='.' venv='.venv' pythonVersion='3.12' typeCheckingMode='standard'. uv run pyright then reported 0 errors on a LangChain/LangGraph codebase without a pyrightconfig.json. Put pyright, ruff and pytest in [dependency-groups] dev so uv sync installs them.