Skip to content

chore: point pyright at the project .venv#40

Open
tabedzki wants to merge 1 commit into
devfrom
tabedzki/chore/pyright-venv-config
Open

chore: point pyright at the project .venv#40
tabedzki wants to merge 1 commit into
devfrom
tabedzki/chore/pyright-venv-config

Conversation

@tabedzki

@tabedzki tabedzki commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

🤖 AI text below 🤖

Adds a [tool.pyright] section so Pyright resolves imports against the project's .venv rather than a global environment:

[tool.pyright]
venvPath = "."
venv = ".venv"

This makes editor/CI type-checking see the installed dependencies (pandas, panel, etc.), reducing spurious "could not be resolved" import errors. No runtime impact.

Add [tool.pyright] venvPath/venv so pyright resolves imports against the
project's .venv, matching the installed dependencies instead of a global
environment.

Assisted-by: ClaudeCode:claude-opus-4.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant