mypy and Pyright
Static type checkers that verify type hints across your codebase.
Intermediate
mypy src/ or pyright. Start gradually with --strict on new modules. Pyright powers VS Code's Pylance.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.