Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

5 results for “Ruff”

Newest and most relevant first

Ruff v0.16.0

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.

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.

Simon Willison’s Weblog →

Ruff: an extremely fast Python linter and formatter that replaces Flake8, Black, and isort

Python developers can now replace three separate tools (Flake8, Black, isort) with one Rust-based binary that runs 10-100x faster, cutting lint and format time on large codebases.

Ruff is a free, open-source program that checks Python code for mistakes and automatically tidies its formatting. It replaces three older tools developers previously had to install and configure separately: Flake8 (which finds errors), Black (which formats code), and isort (which orders imports). Written in Rust, it runs 10 to 100 times faster than those tools combined. Any Python developer can benefit, and switching on an existing project means consolidating configs into one file.

Ruff consolidates three widely adopted Python code-quality tools, Flake8, Black, and isort, into a single open-source binary, cutting tool licensing-free costs to zero and reducing pipeline complexity. Its Rust implementation delivers 10-100x speedups, which matters for large monorepos where linting was a bottleneck. Adoption risk is limited: the formatter is not an exact Black clone and some niche Flake8 plugins are unsupported.

Ruff is a Rust-based linter and formatter with over 700 built-in rules spanning pycodestyle, Pyflakes, and McCabe, and it supports existing Flake8 plugins like flake8-bugbear. It runs 10-100x faster than Flake8+Black+isort pipelines with built-in parallel processing. Its formatter is an independent Black-compatible implementation with subtle differences, such as preserving empty lines around decorators. Configuration consolidates into ruff.toml or pyproject.toml, with pre-commit support and a VS Code extension (charliermarsh.ruff); no benchmark methodology is provided.

GitHub Opensource Projects →

Write-time code quality enforcement for Claude Code edits

Plankton lets Claude Code users block bad AI-written code at the moment of file write instead of cleaning it up after the fact, saving review time.

Plankton is a free, open-source tool for people who use AI assistants to write code. When the AI assistant Claude Code saves an edit to your computer, Plankton checks it first and blocks sloppy changes, like leftover debugging lines or messy formatting, before they reach your project. It catches problems instantly, unlike most tools that check only after code is committed. It is early-stage, with about 15 stars on GitHub.

Plankton is a free open-source guardrail for teams using Claude Code, an AI coding assistant, addressing the common cost of manually cleaning up AI-generated code. It checks every AI edit locally as it is written, and rules can be configured per project via a plankton.config.json file. The project is very early, roughly 15 GitHub stars, so adoption risk is real, but it competes with post-hoc checkers rather than a direct rival. Useful for onboarding and monorepos; no vendor cost involved.

Plankton intercepts Claude Code file writes using Node.js fs.watch or inotify, parses the diff, and runs configurable checks before the change persists, enabling immediate self-correction by the model. It wraps rather than replaces existing linters like ESLint or Ruff, and rules are defined in plankton.config.json with regex patterns and messages. The stated use cases include team onboarding, monorepos and legacy codebases. No benchmark numbers are provided; the repo had about 15 stars at writing.

GitHub Opensource Projects →

Thoughts on OpenAI acquiring Astral and uv/ruff/ty

Python's most critical tooling, uv, ruff and ty, now belongs to OpenAI, so developers must watch whether these MIT/Apache-licensed projects stay independent or become leverage in the OpenAI-Anthropic coding-agent war.

OpenAI is buying Astral, the small company behind three free tools that Python programmers rely on, especially uv, which fixes the mess of installing and managing Python on a computer. uv was downloaded over 126 million times last month. The team will join OpenAI's Codex group, and both companies say the tools will stay free and open. A community worry is that one company now controls key shared infrastructure.

OpenAI's acquisition of Astral brings uv, ruff and ty, load-bearing Python infrastructure, in-house, joining the Codex team as the Codex-vs-Claude Code competition intensifies around $200/month subscriptions worth billions annually. Both announcements pledge continued open-source support, but pyx, Astral's private package registry product, is conspicuously absent. The deal mirrors Anthropic's December 2025 Bun acquisition. MIT/Apache licensing makes 'fork and move on' the fallback if stewardship degrades.

Astral (uv, ruff, ty) joins OpenAI's Codex team; Codex CLI is Rust, and Astral holds elite Rust engineers (BurntSushi of ripgrep/regex/jiff). uv, released February 2024, hit 126M+ monthly PyPI downloads solving Python environment management. Ruff and ty pair naturally with coding agents via fast linting and type-checking. Untold: undisclosed Series A (Accel) and Series B (a16z); pyx has no stated future. Permissive licenses keep forking viable.

Simon Willison’s Weblog →

ty: An extremely fast Python type checker and LSP

Python teams can replace slow type checkers like mypy and Pyright with a tool that catches errors in milliseconds instead of hundreds of milliseconds, making in-editor checking practical on large codebases.

A company called Astral has released a free beta tool called ty that checks Python code for type mistakes, which are errors where data doesn't match what the code expects. It is dramatically faster than the existing tools developers use for this job, such as mypy and Pyright. Faster checking means errors show up almost instantly while coding rather than after a long wait.

Astral, the company behind uv and Ruff, has shipped the first beta of ty, a Python type checker claiming 10x to 60x speedups over mypy and Pyright without caching, and up to 500x over Pyrefly in one editor test. Adoption is essentially zero-cost: it is free, installable via uvx, and ships a VS Code extension. The risk is that it is a first beta, and even Willison found issues in his own sqlite-utils project.

Astral released the first beta of ty, a Python type checker and LSP server, runnable via 'uvx ty check' and through a new VS Code extension providing go-to-definition and diagnostics. Benchmarks claimed: no-cache checking 10x-60x faster than mypy and Pyright; recomputing diagnostics after editing a load-bearing PyTorch file took 4.7ms versus 386ms for Pyright and 2.38s for Pyrefly. The architecture enabling the speed is not described. Beta maturity limits production trust.

Simon Willison’s Weblog →