Updated
Updated · InfoWorld · Jun 3
Meta Releases Pyrefly 1.0, a Rust-Based Python Linter With VS Code Support
Updated
Updated · InfoWorld · Jun 3

Meta Releases Pyrefly 1.0, a Rust-Based Python Linter With VS Code Support

1 articles · Updated · InfoWorld · Jun 3

Summary

  • Pyrefly 1.0 arrives as Meta’s new Python linter and type checker, installable with pip and usable immediately with minimal default checks before stricter rules are configured.
  • Rust underpins Pyrefly’s pitch: faster, more memory-efficient analysis, plus tools to ease adoption such as pyrefly init, bulk error suppression, baseline files, and inferred type hints in VS Code.
  • Advanced support already covers Django and Pydantic, while experimental features include type-coverage reports, stub generation, and PyTorch tensor-shape checking.
  • Against established rivals, Pyrefly is more mature than Astral’s Rust-based ty, scores above Mypy on test conformance, and trades with Pyright as a forward-looking alternative for Python teams.

Insights

Can Meta's Rust-based Pyrefly dethrone Mypy and Pyright as Python's top type checker?
Will Pyrefly's unique tensor shape checking for PyTorch fundamentally change how AI models are built and debugged?