Change8

0.14.14

📦 ruffView on GitHub →
4 features🐛 3 fixes🔧 35 symbols

Summary

This release introduces several preview features, including better lambda body parenthesis preservation and duplicate `__all__` detection. Numerous rule fixes were applied, with many now marked as unsafe if they would remove comments.

✨ New Features

  • Preserve required parentheses in lambda bodies.
  • Combine range suppression code diagnostics.
  • airflow: Second positional argument to `Asset`/`Dataset` should not be a dictionary (`AIR303`).
  • ruff: Detect duplicate entries in `__all__` (`RUF068`).

🐛 Bug Fixes

  • pyupgrade: Allow shadowing non-builtin bindings (`UP029`).
  • pyupgrade: Apply `UP045` to string arguments of `typing.cast`.
  • flake8-pie: Detect duplicated declared class fields in `PIE794`.

Affected Symbols