Ruff v0.16.0

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Ruff v0.16.0 enables 413 rules by default instead of 59, so un-pinned CI setups will start failing until their codebases are fixed.

Read this as

Ruff is a free program that checks Python code for mistakes. Its new version, v0.16.0, released on July 23rd, checks for far more problems automatically: 413 kinds of issues instead of 59. The programmer Simon Willison ran it on his three projects and it found hundreds of problems, which AI coding assistants then fixed for him.

Astral shipped Ruff v0.16.0 on July 23rd with a much stricter default rule set, up from 59 rules to 413. Teams with unpinned dependencies saw their CI checks fail without changing any code, so migration effort lands this week. AI agents (Codex and Claude Code) successfully fixed hundreds of issues across three of Willison's open-source projects. Astral is now owned by OpenAI.

Ruff v0.16.0 raises the default rule count from 59 to 413 out of 968 total, catching issues like missing tz arguments in datetime.now() and blind exception catches. Running `uvx ruff@latest check . --fix --unsafe-fixes` on sqlite-utils reported 1,618 errors, auto-fixing 1,538 and leaving 80. Codex (GPT-5.6 Sol high) fixed llm and sqlite-utils; Claude Code with Opus 5 fixed Datasette.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Ruff v0.16.0 Astral Datasette sqlite-utils LLM Codex Claude Code

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading