overview
What is Pyrefly?
Pyrefly is a static type checker and language server tool developed by Meta that enables Python developers to catch type-related errors before runtime. It provides powerful IDE features such as code navigation, autocomplete, and refactoring for reliable, maintainable Python code. Pyrefly functions as both a static type checker and a language server for Python, with its primary purpose being to analyze Python code for type consistency. Written in Rust, it aims to provide high-performance static analysis and rich IDE features to enhance developer productivity and code quality. The tool is open-source and has seen rapid development since its alpha announcement in May 2025.