2024-11-21 · Astral

Ruff v0.8.0

tooling

read at source ↗ astral.sh

Ruff v0.8.0

Source: Astral Date: 2024-11-21 URL: https://astral.sh/blog/ruff-v0.8.0

Summary

Ruff v0.8.0 bumps the default Python version from 3.8 to 3.9 (3.8 EOL). FastAPI-specific lint rules (FAST001, FAST002) promoted from preview to stable. flake8-type-checking rules renamed from TCH to TC codes with backward compatibility. Six deprecated rules removed. Standalone installer switches to XDG standards (~/.local/bin).

Implications

FastAPI rules stable is an explicit framework-specific bet. Most linters stay framework-agnostic; Ruff shipping stable FastAPI rules signals willingness to encode framework idioms at the linter level. This is the same logic as the Django and Airflow rule sets — Ruff is accumulating framework-specific knowledge that previously required per-framework flake8 plugins. The Python 3.9 default bump will break some teams still targeting 3.8, but 3.8 EOL makes this the right call. Watch for similar bumps following each subsequent Python EOL (3.9 ends October 2025, 3.10 October 2026).

← all signals