Ruff icon
Ruff icon

Ruff

An extremely fast Python linter, written in Rust.

Ruff screenshot 1

Cost / License

  • Free
  • Open Source

Platforms

  • Mac
  • Windows
  • Linux
  • BSD
  • Python
-
No reviews
1like
0comments
0news articles

Features

Suggest and vote on features
  1.  Static Code Analysis

 Tags

Ruff News & Activities

Highlights All activities

Recent activities

  • ty icon
    POX added Ruff as alternative to ty
  • Pyrefly icon
    POX added Ruff as alternative to Pyrefly
  • zero00072 updated Ruff
  • zero00072 liked Ruff
Show all activities

Ruff information

  • Developed by

    US flagAstral
  • Licensing

    Open Source (MIT) and Free product.
  • Written in

  • Alternatives

    13 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

GitHub repository

  •  44,739 Stars
  •  1,667 Forks
  •  1863 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Ruff was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

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.

Official Links