Skip to content
Tools · Jul 26, 2026

Ruff v0.16.0 enables 413 default linting rules, up from 59

Astral’s Python linter adds hundreds of new default checks, catching syntax and runtime errors without configuration.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • Ruff v0.16.0 increases default enabled rules from 59 to 413, growing the total rule set from 708 to 968.
  • The update catches severe issues such as syntax errors and immediate runtime errors that were previously opt-in.
  • A one-liner command can run the new checks on any Python project: uvx ruff@latest check .
  • Running the update on three projects surfaced hundreds of issues; automated fixes resolved most, leaving 80 in sqlite-utils.

Astral released Ruff v0.16.0 on July 23, 2026, increasing the number of rules enabled by default from 59 to 413. The total rule set grew from 708 to 968 since the last modification to the default set in v0.1.0.

Many newly enabled rules detect severe issues such as syntax errors and immediate runtime errors, which were previously only available as opt-in checks. With this change, Ruff surfaces these issues without requiring any user configuration.

A one-liner command can run the new checks on any Python project: uvx ruff@latest check .

The author tested the update on three projects—Datasette, sqlite-utils, and LLM—finding hundreds of issues that breached the new default rules. Automated fixes resolved the bulk of the problems; for sqlite-utils, the command reported 1,618 errors, fixing 1,538 and leaving 80 remaining.

Examples of newly flagged issues include using datetime.datetime.now() without a timezone argument, catching a blind Exception, and accessing attributes without assignment. Ruff provides detailed explanations and suggested fixes for each issue.

Sources
  1. 01Simon Willison’s WeblogRuff v0.16.0
Also on Tools

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.