What is Ruff?
Ruff is an extremely fast Python linter and code formatter, written in Rust by Astral β the team behind uv. With over 800 built-in rules and native re-implementations of popular plugins, a single ruff binary replaces Flake8, isort, Black, pyupgrade, autoflake and dozens of plugins, while running 10β100Γ faster. It has become the default linter of the modern Python ecosystem, adopted by projects like FastAPI, Pandas and Hugging Face.
apt upgrade keeps you on the latest version.
β‘ Key Features of Ruff
ποΈ 10β100Γ Faster
Lints large codebases in milliseconds where legacy tools take minutes β fast enough to run on every save and in every CI pipeline.
π§° One Tool, 800+ Rules
Re-implements Flake8, isort, pyupgrade, pydocstyle, eradicate and more β one config in pyproject.toml replaces a stack of plugins.
π€ Drop-in Formatter
ruff format is a Black-compatible formatter β same style, orders of magnitude faster, no separate tool to install.
π§ Auto-fixes
Hundreds of rules come with automatic fixes: unused imports, upgraded syntax, sorted imports β ruff check --fix and done.
π Version-aware
Targets any Python from 3.7 onward with per-version rule behavior, monorepo-friendly hierarchical configuration and per-file overrides.
π Editor Integrations
A built-in language server (ruff server) powers first-class VS Code, Zed, Neovim and Helix integrations from the same binary.
π Why install it with apt?
- System-wide, pip-free: one binary for every project, venv, CI job and user β no per-project installs to keep in sync
- Perfect for Docker/CI images: bake the repo into base images and every pipeline gets current ruff automatically
- No toolchain: no Rust, no cargo, no pip β a signed apt repository with prebuilt binaries for 8 architectures
- Automatic updates: ruff releases frequently;
apt upgradekeeps up so your rules never go stale - Pairs with uv: Astral's package manager is also served here β the full modern Python toolchain from one repository
π¦ Installation from deb.griffo.io
Step 1: Add Repository
Step 2: Install Ruff
π First run
Lint and format your project:
π¦ Package Build Repository
The Debian packages are automatically built and maintained in this GitHub repository:
- π ruff-debian - Latest release builds
π Related Packages
Also available from deb.griffo.io:
- uv - Astral's extremely fast Python package manager β ruff's perfect companion
- Zed - A fast editor with first-class ruff integration
- just - A command runner for your lint/format/test workflows
π Support This Project
If this repository saves you time and effort, please consider supporting it!