Change8

0.12.9

📦 ruffView on GitHub →
6 features🐛 3 fixes🔧 7 symbols

Summary

Ruff 0.12.9 introduces new preview checks, rule updates, bug fixes, and improved output formatting without breaking changes.

✨ New Features

  • Preview: Added check for `airflow.secrets.cache.SecretCache` (AIR301).
  • Preview: Offered a safe fix for multi-digit zeros (RUF064).
  • Rule change: pylint now uses lowercase hex characters to match the formatter (PLE2513).
  • GitLab output now includes rule code in error description.
  • Improved rendering of the `full` output format, moving filename/line/column to a second line.
  • Built `riscv64` binaries for release.

🐛 Bug Fixes

  • Fixed false-positive BLE001 on `raise ... from None`.
  • Fixed false positive C420 with attribute, subscript, or slice assignment targets.
  • Fixed handling of U+001C..U+001F whitespace (SIM905).

🔧 Affected Symbols

airflow.secrets.cache.SecretCacheBLE001C420SIM905PLE2513RUF064F401