Change8

0.15.9

📦 ruffView on GitHub →
1 features🐛 9 fixes🔧 15 symbols

Summary

This release introduces a new formatter option for nested string quotes and includes numerous bug fixes across various linters, alongside rule adjustments for better accuracy and safety.

✨ New Features

  • Added `nested-string-quote-style` formatting option to the Formatter.

🐛 Bug Fixes

  • Fixed `EM101` fix in `flake8-errmsg` to avoid shadowing existing `msg`.
  • Fixed `SIM113` in `flake8-simplify` to ignore pre-initialization references.
  • Fixed `W391` fixes in `pycodestyle` for consecutive empty notebook cells.
  • Fixed `UP008` nested class matching in `pyupgrade`.
  • Fixed `UP012` in `pyupgrade` to ignore strings with string-only escapes.
  • Fixed `RUF072` in `ruff` to skip formfeeds on dedent.
  • Fixed `RUF024` fix in `ruff` to avoid re-using symbols.
  • Fixed `RUF050` fix in `ruff` to parenthesize expression.
  • Disallowed starred expressions as values of starred expressions.

Affected Symbols