An extremely fast Python linter, written in Rust. 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 is extremely actively developed and used in major open-source projects. Ruff can be configured through a pyproject.toml, ruff.toml, or .ruff.toml file (see: Configuration, or Settings for a complete list of all configuration options). Ruff supports over 500 lint rules, many of which are inspired by popular tools like Flake8, isort, pyupgrade, and others. Regardless of the rule's origin, Ruff re-implements every rule in Rust as a first-party feature.

Features

  • 10-100x faster than existing linters
  • Installable via pip
  • 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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Ruff

Ruff Web Site

You Might Also Like
Digital Payments by Deluxe Payment Exchange Icon
Digital Payments by Deluxe Payment Exchange

A single integrated payables solution that takes manual payment processes out of the equation, helping reduce risk and cutting costs for your business

Save time, money and your sanity. Deluxe Payment Exchange+ (DPX+) is our integrated payments solution that streamlines and automates your accounts payable (AP) disbursements. DPX+ ensures secure payments and offers suppliers alternate ways to receive funds, including mailed checks, ACH, virtual credit cards, debit cards, or eCheck payments. By simply integrating with your existing accounting software like QuickBooks®, you’ll implement efficient payment solutions for AP with ease—without costly development fees or untimely delays.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ruff!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Static Code Analysis Tool

Registered

2023-03-30