0.11.7
📦 ruffView on GitHub →
✨ 6 features🐛 4 fixes🔧 8 symbols
Summary
Ruff 0.11.7 introduces several preview features and rule enhancements, fixes bugs across multiple plugins, and adds documentation for fix safety.
✨ New Features
- Apply auto fixes to cases where the names have changed in Airflow 3 (AIR301)
- Implement fix for manual-dict-comprehension (PERF403)
- Make duplicate parameter names a semantic error
- Allow list function calls to be replaced with a comprehension (PERF401)
- Auto-fix redundant boolean comparison (E712)
- Make fix unsafe if delete comments (PLR1730)
🐛 Bug Fixes
- Fix typos in provider package names (AIR302, AIR312)
- Visit keyword arguments in checks involving typing.cast/typing.NewType arguments
- Preserve parenthesis when fixing native literals containing newlines (UP018)
- Mark the FURB161 fix unsafe except for integers and booleans
🔧 Affected Symbols
airflowperflintsyntax-errorsflake8-type-checkingpyupgraderefurbpycodestylepylint