Add experimental programmatic API for Monty (#4866) Summary: For https://www.github.com/pydantic/monty/pull/501 Something about how Monty can't depend on a crate that's a GH revision hash. I guess after this gets merged you guys need to publish it, but IDK how to do that Pull Request resolved: https://github.com/facebook/pyrefly/pull/4866 Test Plan: I ran all the tests at some point but after the demise of my Macbook Pro I now use a Macbook Air which has no fans so I'm reluctant to risk running the test suite and overheating it so, TLDR trust CI Reviewed By: stroxler Differential Revision: D119299371 Pulled By: kinto0 fbshipit-source-id: 8616a36da81db44fdc015e2dd7651458e128610c
Pyrefly is a type checker and language server for Python, which provides lightning-fast type checking along with IDE features such as code navigation, semantic highlighting, and code completion. It is available as a command-line tool and an extension for popular IDEs and editors such as VSCode, Neovim, Zed, and more.
See the Pyrefly website for full documentation and how to add Pyrefly to your editor of choice.
Pyrefly's current development status is stable.
pyrefly init, silence existing errors with pyrefly suppress, and generate type annotations with pyrefly infer. Start with one file and expand at your own pace.pip install pyreflyPyrefly releases new minor versions (1.x.0) monthly and patch versions in between as-needed for critical fixes. Pyrefly does not follow strict semantic versioning: minor versions contain more significant changes than patch versions, but any version may introduce new type errors and other breaking changes. The pyrefly suppress command can be used to easily silence errors when upgrading to a new version.
If you have questions or would like to report a bug, please create an issue.
See our contributing guide and architecture overview for information on how to contribute to Pyrefly.
Join our Discord to chat about Pyrefly and types. This is also where we hold biweekly office hours.