-
Notifications
You must be signed in to change notification settings - Fork 0
chore(nix): add basedpyright to development shell #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added basedpyright as a build input to the Nix devShell to provide IDE support for Python type checking. This tool complements the existing mypy hooks and improves developer experience with real-time type feedback in editors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds basedpyright (a Python type checker and language server) to the Nix development shell to provide real-time type checking feedback in IDEs. This complements the existing mypy configuration which runs as a pre-commit hook.
Key Changes:
- Added basedpyright package to the devShell buildInputs in flake.nix
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| nixfmt-rfc-style | ||
| typos | ||
| typos-lsp | ||
| basedpyright |
Copilot
AI
Dec 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding basedpyright to the development shell without corresponding configuration may lead to inconsistent type checking behavior. The project already has comprehensive mypy configuration in pyproject.toml (lines 99-125) but lacks any basedpyright configuration. Consider adding a [tool.basedpyright] section to pyproject.toml or a pyrightconfig.json file to ensure basedpyright uses settings consistent with your existing mypy configuration (such as Python version 3.10, strict type checking settings, and module ignore patterns for bm25s, langgraph, and mcp).
| basedpyright |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
glebedel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
add basedpyright for lsp
Summary by cubic
Adds basedpyright to the Nix devShell for Python type checking in IDEs. Complements existing mypy hooks with fast, real-time feedback.
Written for commit c24874e. Summary will update automatically on new commits.