Skip to content

microsoft/pyright

Repository files navigation

Pyright

Static Type Checker for Python

Pyright is a full-featured, standards-based static type checker for Python. It is designed for high performance and can be used with large Python source bases.

Pyright includes both acommand-line tooland anextension for Visual Studio Code.

Pyright Playground

Try Pyright in your browser using thePyright Playground.

Documentation

Refer tothe documentationfor installation, configuration, and usage details.

Community

Do you have questions about Pyright or Python type annotations in general? Post your questions inthe discussion section.

If you would like to report a bug or request an enhancement, file a new issue in either thepyrightorpylance-releaseissue tracker. In general, core type checking functionality is associated with Pyright while language service functionality is associated with Pylance, but the same contributors monitor both repos. For best results, provide the information requested in the issue template.

Contributing

This project welcomes contributions and suggestions. For feature and complex bug fix contributions, it is recommended that you first discuss the proposed change with Pyright’s maintainers before submitting the pull request. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visithttps://cla.microsoft.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted theMicrosoft Open Source Code of Conduct.For more information see theCode of Conduct FAQor contactopencode@microsoftwith any additional questions or comments.