ruff

Install latest/stable of ruff

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install ruff

Don't have snapd? Get set up for snaps.

Channel Version Published

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.

  • ⚡️ 10-100x faster than existing linters (like Flake8) and formatters (like Black)
  • 🐧 Installable via snap
  • 🛠️ pyproject.toml support
  • 🤝 Python 3.12 compatibility
  • ⚖️ Drop-in parity with Flake8, isort, and Black
  • 📦 Built-in caching, to avoid re-analyzing unchanged files
  • 🔧 Fix support, for automatic error correction (e.g., automatically remove unused imports)
  • 📏 Over 700 built-in rules, with native re-implementations of popular Flake8 plugins, like flake8-bugbear
  • ⌨️ First-party editor integrations for VS Code and more
  • 🌎 Monorepo-friendly, with hierarchical and cascading configuration

Details for ruff

License
  • MIT

Last updated
  • 5 December 2024 - latest/stable
  • 5 December 2024 - latest/candidate

Websites

Contact

Source code

Report a bug

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.


Install ruff on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.