Pyright Lsp
Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnost
- Rating
- 4.4 (197 reviews)
- Downloads
- 3,163 downloads
- Version
- 1.0.0
Overview
Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .
Complete Documentation
View Source →
Pyright LSP
Python language server integration providing static type checking and code intelligence through Microsoft's Pyright.
Capabilities
- Type checking: Static analysis of Python types
- Code intelligence: Autocomplete, go-to-definition, find references
- Error detection: Real-time diagnostics for type errors and issues
- Supported extensions:
.py,.pyi
Installation Check
Before using, verify Pyright is installed:
which pyright || npm install -g pyright
Alternative installation methods:
pip install pyright
# or
pipx install pyright # recommended for CLI tools
Usage
Run type checking on Python files:
pyright path/to/file.py
Run on entire project:
cd project-root && pyright
Configuration
Create pyrightconfig.json in project root for custom settings:
{
"include": ["src"],
"exclude": ["**/node_modules", "**/__pycache__"],
"typeCheckingMode": "basic",
"pythonVersion": "3.10"
}
Integration Pattern
When editing Python code:
- Run pyright after significant changes
- Address type errors before committing
- Use diagnostics to improve code quality
More Information
Installation
openclaw install pyright-lsp
💻Code Examples
pipx install pyright # recommended for CLI tools
## Usage
Run type checking on Python files:cd project-root && pyright
## Configuration
Create `pyrightconfig.json` in project root for custom settings:pip install pyright
# or
pipx install pyright # recommended for CLI tools{
"include": ["src"],
"exclude": ["**/node_modules", "**/__pycache__"],
"typeCheckingMode": "basic",
"pythonVersion": "3.10"
}Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.