0.11.10
📦 ruffView on GitHub →
✨ 7 features🐛 6 fixes⚡ 1 deprecations🔧 13 symbols
Summary
Ruff 0.11.10 introduces several preview features such as recursive RUF060 checks and new Airflow rule autofixes, adds rule deprecations, fixes numerous bugs, and disables jemalloc on Android.
✨ New Features
- Implement a recursive check for RUF060.
- Enable autofixes for AIR301 and AIR311.
- Apply try catch guard to all AIR3 rules.
- Extend AIR311 rules.
- Disable jemalloc on Android.
- Skip S608 for expressionless f-strings.
- Don't recommend `usefixtures` for `parametrize` values (PT019).
🐛 Bug Fixes
- Ignore B028 if `skip_file_prefixes` is present.
- Mark autofix for PIE804 as unsafe if the dictionary contains comments.
- Correct behavior for `str.split`/`rsplit` with `maxsplit=0` (SIM905).
- Fix SIM905 autofix for `rsplit` creating a reversed list literal.
- Suppress diagnostics for all `os.*` functions that have the `dir_fd` parameter (PTH).
- Mark autofix as safe only for number literals (FURB116).
🔧 Affected Symbols
RUF060AIR301AIR311AIR3B028PIE804SIM905PTHFURB116S608PT019UP024jemalloc⚡ Deprecations
- Add `resource.error` as deprecated alias of `OSError` (UP024).