Hacker News
Ruff v0.16.0 Turns On 413 Rules by Default, up From 59, and Formats Python Inside Markdown
Astral shipped Ruff v0.16.0 on July 23, 2026 and it reached 251 points and 152 comments on HN. The headline change is that 413 rules are now enabled by default versus 59, surfacing syntax errors and runtime-failure classes that were previously hidden behind opt-in config. Also new: formatting Python inside Markdown fenced blocks (python/py/python3/py3/pyi/pycon), `ruff: ignore` and `ruff: file-ignore` suppression comments with an `--add-ignore` CLI flag, inline diffs in `check` and `format --check` output, and twelve rules promoted from preview to stable. One breaking change: JSON output fields `filename`, `location` and `end_location` may now be null.
↳ Follow the thread