0.14.8
📦 ruffView on GitHub →
✨ 2 features🐛 2 fixes🔧 7 symbols
Summary
Ruff 0.14.8 introduces new preview lint rules for flake8-bugbear and flake8-use-pathlib, and fixes several false‑positive and truthiness bugs.
✨ New Features
- `flake8-bugbear` now catches `yield` expressions within other statements (rule B901).
- `flake8-use-pathlib` marks fixes unsafe for return type changes (rules PTH104, PTH105, PTH109, PTH115).
🐛 Bug Fixes
- Fixed false positive syntax errors for `await` used outside functions.
- `flake8-simplify` corrected truthiness assumptions for non-iterable arguments in tuple/list/set calls (rules SIM222, SIM223).
🔧 Affected Symbols
B901PTH104PTH105PTH109PTH115SIM222SIM223