Primary sourceSimon Willison’s Weblog
View sourceEvent ·Single source
Ruff v0.16.0 默认规则从 59 增至 413,大幅提升代码检查能力
Astral 发布 Python 代码检查工具 Ruff v0.16.0,默认启用规则从 v0.1.0 的 59 条增至 413 条,总规则数从 708 增至 968。新规则可检测语法错误、运行时错误等严重问题,无需额外配置。作者在 Datasette、sqlite-utils、LLM 等项目中运行后,发现数百个新违规,其中 sqlite-utils 报告 1618 个错误(已自动修复 1538 个)。新输出格式适配 AI 编码代理,如 Codex(GPT-5.6 Sol high)和 Claude Code(Opus 5)可直接处理。
Current read
Ruff v0.16.0 默认规则暴涨,能帮你揪出以前忽略的 bug 和坏习惯,跑一遍自动修复就能让代码更健壮。
2 sources61° AI heatLast updated 2026/7/25 22:44:05
Evidence
2 sourcesRelated source 1Decoder
View sourceConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.