返回顶部
p

pyright-lsp

Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .pyi files. Use when working with Python code that needs type checking, autocomplete suggestions, error detection, or code navigation.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,134
下载量
0
收藏
概述
安装方式
版本历史

pyright-lsp

# 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: ```bash which pyright || npm install -g pyright ``` Alternative installation methods: ```bash pip install pyright # or pipx install pyright # recommended for CLI tools ``` ## Usage Run type checking on Python files: ```bash pyright path/to/file.py ``` Run on entire project: ```bash cd project-root && pyright ``` ## Configuration Create `pyrightconfig.json` in project root for custom settings: ```json { "include": ["src"], "exclude": ["**/node_modules", "**/__pycache__"], "typeCheckingMode": "basic", "pythonVersion": "3.10" } ``` ## Integration Pattern When editing Python code: 1. Run pyright after significant changes 2. Address type errors before committing 3. Use diagnostics to improve code quality ## More Information - [Pyright on npm](https://www.npmjs.com/package/pyright) - [Pyright on PyPI](https://pypi.org/project/pyright/) - [GitHub Repository](https://github.com/microsoft/pyright)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 pyright-lsp-1776336150 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 pyright-lsp-1776336150 技能

通过命令行安装

skillhub install pyright-lsp-1776336150

下载 Zip 包

⬇ 下载 pyright-lsp v1.0.0

文件大小: 1.42 KB | 发布时间: 2026-4-17 15:08

v1.0.0 最新 2026-4-17 15:08
Initial release: Python type checker and language server via Pyright.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部