CheckOps
Pyright
Pyright is an MIT static type checker for Python from Microsoft, built for speed on large codebases, with a CLI and language server used by Pylance.
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
Pyright is a full-featured, standards-based static type checker for Python from Microsoft. It is designed for high performance on large source bases and powers type checking in the Pylance extension for VS Code.
It supports recent typing features quickly, infers types for unannotated code, and offers modes from basic to strict. Configuration lives in pyrightconfig.json or pyproject.toml. A CLI runs it in CI, and watch mode gives fast incremental feedback.
In the quality loop Pyright is a fast type gate for Python, an alternative to mypy.
The source code is at microsoft/pyright on GitHub under the MIT licence, with about 15,700 stars; the most recent commit was on 10 November 2026.
Features
- Fast checking: Built for large codebases.
- Type inference: Infers types for unannotated code.
- Strictness modes: basic, standard and strict.
- Language server: Editor integration.
- Watch mode: Incremental re-checks.
- New typing features: Rapid support for typing PEPs.
Pros
- Speed: Very fast feedback.
- Free to use: Open source under the MIT licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 10 November 2026.
- Community: About 15,700 GitHub stars.
Cons
- Node.js runtime: Distributed via npm, though pip wrappers exist.
- Different from mypy: Results can differ on edge cases.
- Plugin model: No plugin system like mypy’s.
Usage and Links (Example)
npm install -g pyright
pyright --outputjson src/
Resources:
Pricing
Pyright is free and open source under the MIT licence.
Recommended for?
- Large Python codebases wanting fast type checks.
- VS Code users aligning CI with Pylance.
Conclusion
Pyright is a fast, standards-focused type checker for Python.
Use it where speed and new typing features matter most.
On CheckOps, Pyright is filed under the Release & CI gates stage. Related tools listed here include Ruff, Pylint, mypy, Bandit, pre-commit and SonarQube. Before standardising on one, compare recent maintenance activity, the pricing model as your usage grows, and the integrations you rely on today. Information on this page was verified against the official website, documentation and repository on 11 November 2026.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with Pyright side by side.
RRuffRuff is an MIT, Rust-based Python linter and formatter from Astral that is 10-100x faster than Flake8 and Black, with over 900 built-in rules and auto-fix.Compare with Pyright
PPylintPylint is a GPL-2.0 static code analyser for Python that checks errors, coding standards, code smells and refactoring opportunities, with plugins and detailed messages.Compare with Pyright
Mmypymypy is an MIT optional static type checker for Python that checks type hints, supports gradual typing and integrates with editors and CI.Compare with Pyright
BBanditBandit is the PyCQA's Apache-2.0 tool for finding common security issues in Python code by building an AST for each file and running security plugins against it.Compare with Pyright
Ppre-commitpre-commit is an MIT framework for managing multi-language Git pre-commit hooks, running linters, formatters and checks before code is committed and in CI.Compare with Pyright
SSonarQubeModernize your AI workflows with code verification for the agentic era.Compare with Pyright