name: pyright
binary: pyright
aliases: []
category:
- type-checker
lang:
- python
summary: Static type checker for Python.
homepage: https://github.com/microsoft/pyright
docs: https://microsoft.github.io/pyright/
detect:
version_args:
- --version
local:
files:
- pyrightconfig.json
dirs: []
package_json:
package_manager_prefixes: []
use_when:
- Run Python type checks in Pyright-configured projects
avoid_when:
- The project uses mypy or another type checker exclusively
risk:
level: low
effects:
- read_files
requires_auth: false
destructive: false
confirmation_required_for: []
guardrails:
- Use the repository's pyrightconfig.json when present.