Developer Tools

Ruff

An extremely fast Python linter and code formatter, written in Rust.

Published

What it does

Why it matters

Before Ruff, "run the linter" was a coffee-break activity on large codebases. Ruff made linting and formatting effectively instantaneous, and in doing so changed behavior: when the check takes milliseconds, developers run it on every save instead of only in CI. Speed didn't just improve the tool; it improved the habit. Ruff is also the clearest proof of the Astral thesis: Python's tooling was slow because nobody had rewritten it natively, not because the problems were hard.

Strengths

  • Hundreds of rules, one binary. It implements the rule sets of a dozen legacy tools behind a familiar config surface, so adoption doesn't require relearning your lint policy.
  • Formatter and linter that agree. Black-compatible formatting plus import sorting plus linting in a single pass; no more tools fighting over the same file.
  • LSP-native. The language server brings the same speed into the editor, with fix-on-save that developers actually leave enabled.
  • Drop-in migration. It reads your existing setup in most cases, which is why whole ecosystems switched in a single pull request.

Weaknesses

  • Not every exotic Flake8 plugin has an equivalent rule; plugin authors are still catching up.
  • Auto-fix is powerful but occasionally opinionated, so review large ruff check --fix diffs before committing.
  • Teams with deep custom lint infrastructure may find the edges where Ruff's model differs from the tools it replaces.

Who it's for

Every Python team, honestly: the migration cost is low and the speed is felt immediately. It matters most on large codebases where lint and format time had become a real tax, and in CI pipelines where those minutes multiply across every run.

Verdict

The default Python linter and formatter now. If your config still names three separate tools, Ruff is the consolidation you have been putting off.

Related projects

Developer Tools

uv logouv

An extremely fast Python package and project manager, written in Rust.

uv replaces pip, pip-tools, pipx, poetry, pyenv, and virtualenv with a single binary that resolves and installs Python dependencies 10-100x faster. It's the rare tool that deletes an entire category of workflow friction.

RustPython
Developer Tools

Aider logoAider

AI pair programming in your terminal, open source.

Aider is the open-source terminal chatbot for code: pair it with any frontier model, point it at your git repo, and it edits files with proper diffs and commit messages. The hacker's choice for agentic coding.

Python
Developer Tools

Zed logoZed

A next-generation code editor built for high-performance collaboration.

From the team behind Atom, Zed is a Rust editor that treats latency as a bug: GPU-rendered UI, multiplayer editing via CRDTs, and deep AI integration that doesn't get in the way.

Rust

Canonical URL: https://www.notvibescoded.com/projects/ruff