0.12.11
📦 ruffView on GitHub →
✨ 6 features🐛 4 fixes🔧 19 symbols
Summary
Ruff 0.12.11 introduces several preview features across airflow, flake8-async, flake8-logging-format, and flake8-use-pathlib, along with bug fixes for false positives and whitespace handling. No breaking changes are reported, and upgrade steps are straightforward.
✨ New Features
- [airflow] Extend AIR311 and AIR312 rules
- [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311)
- [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212)
- [flake8-logging-format] Add auto-fix for f-string logging calls (G004)
- [flake8-use-pathlib] Add autofix for PTH211
- [flake8-use-pathlib] Make PTH100 fix unsafe because it can change behavior
🐛 Bug Fixes
- [pyflakes, pylint] Fix false positives caused by __class__ cell handling (F841, PLE0117)
- [pyflakes] Fix allowed-unused-imports matching for top-level modules (F401)
- [ruff] Fix false positive for t-strings in default-factory-kwarg (RUF026)
- [ruff] Preserve relative whitespace in multi-line expressions (RUF033)
🔧 Affected Symbols
AIR311AIR312ASYNC212G004PTH211PTH100F841PLE0117F401RUF026RUF033RUF037airflowflake8-asyncflake8-logging-formatflake8-use-pathlibpyflakespylintruff