Voltar ao ranking

facebook/pyrefly

Rustpyrefly.org

A fast type checker and language server for Python

code-qualityidelanguage-serverlsppythontype-checktype-checkertypechecktypecheckerrusttypestyping
Crescimento de estrelas
Estrelas
6.8k
Forks
446
Crescimento semanal
Issues
528
2k4k6k
set. de 25dez. de 25abr. de 26jul. de 26
Artefatoscrates.iocargo add pyrefly
README

Pyrefly: A fast type checker and language server for Python with powerful IDE features

pyrefly PyPI VS Code Open VSX Discord License: MIT

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.

Key Features

  • Fast. Pyrefly checks over 1.85 million lines of code per second, type checking projects like PyTorch 15x faster than Mypy and Pyright. In the IDE, rechecks typically complete in under 10 milliseconds after saving a file.
  • Production-proven at scale. Pyrefly is the default type checker for Instagram's 20-million-line Python codebase at Meta, and has been adopted by large open source projects including PyTorch and JAX.
  • Full-featured language server. Code navigation, autocomplete, hover information, inlay hints, semantic highlighting, and more, with consistent results across the CLI and your editor of choice.
  • Understands real-world Python. Built-in support for frameworks and tools like Pydantic, Django, and pytest, with model validation, field types, fixture navigation, and autocomplete that work out of the box.
  • Adoption-ready. Migrate from Mypy or Pyright with 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.

Getting Started

Version Policy

Pyrefly 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.

Getting Involved

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.

Repositórios relacionados
usestrix/strix

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

PythonPyPIApache License 2.0agentsartificial-intelligence
strix.ai
43.2k4.5k
realm/SwiftLint

A tool to enforce Swift style and conventions.

SwiftMIT Licenselinterlinting
realm.github.io/SwiftLint
19.7k2.3k
keploy/keploy

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

GoGo ModulesApache License 2.0testingtest-automation
keploy.io
18.3k2.3k
federico-busato/Modern-CPP-Programming

Modern C++ Programming Course (C++03/11/14/17/20/23/26)

HTMLCreative Commons Attribution Share Alike 4.0 Internationalcppcpp11
federico-busato.github.io/Modern-CPP-Programming/
15.9k1.1k
facebook/infer

A static analyzer for Java, C, C++, and Objective-C

OCamlMIT Licensestatic-analysisstatic-code-analysis
fbinfer.com
15.7k2.1k
analysis-tools-dev/static-analysis

⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.

Rustcrates.ioMIT Licensestatic-analysisstatic-analyzers
analysis-tools.dev
14.7k1.5k
Kristories/awesome-guidelines

Programming style, best practices, and coding conventions.

JavaScriptnpmCreative Commons Zero v1.0 Universalawesomeguidelines
11k619
SonarSource/sonarqube

Continuous Inspection

JavaMavenGNU Lesser General Public License v3.0sonarqubecode-quality
sonarqube.org
10.8k2.2k
super-linter/super-linter

Combination of multiple linters to run as a GitHub Action or standalone

ShellMIT Licenselinteractions
github.com/super-linter/super-linter
10.5k1.1k
CodingDocs/awesome-java

Collection of awesome Java project on Github(非常棒的 Java 开源项目集合).

awesome-listcode-quality
9.6k1.6k
reviewdog/reviewdog

🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

GoGo ModulesMIT Licenselintergo
medium.com/@haya14busa/reviewdog-a-code-review-dog-who-keeps-your-codebase-healthy-d957c471938b
9.5k489
checkstyle/checkstyle

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

JavaMavenGNU Lesser General Public License v2.1javastatic-code-analysis
checkstyle.org
9k4.1k