Ruff icon
Ruff icon

Ruff

An extremely fast Python linter, written in Rust.

Ruff screenshot 1

Cost / License

  • Free
  • Open Source (MIT)

Platforms

  • Mac
  • Windows
  • Linux
  • BSD
  • Python

Features

Ruff News & Activities

Highlights All activities

Recent News

Recent activities

  • ty icon
    POX added Ruff as alternative to ty
  • Pyrefly icon
    POX added Ruff as alternative to Pyrefly
No comments or reviews, maybe you want to be first?

Official Links

What is Ruff?

An extremely fast Python linter, written in Rust.

  • 10-100x faster than existing linters
  • Installable via pip
  • pyproject.toml support
  • Python 3.11 compatibility
  • Built-in caching, to avoid re-analyzing unchanged files
  • Autofix support, for automatic error correction (e.g., automatically remove unused imports)
  • Over 500 built-in rules
  • Near-parity with the built-in Flake8 rule set
  • Native re-implementations of dozens of Flake8 plugins, like flake8-bugbear
  • First-party editor integrations for VS Code and more
  • Monorepo-friendly, with hierarchical and cascading configuration

Ruff aims to be orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface.

Ruff can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.

Ruff information

AlternativeTo Category

Development

GitHub repository

  •  49,642 Stars
  •  2,419 Forks
  •  2191 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Ruff was added to AlternativeTo by Paul on and this page was last updated .