Change8

0.9.1

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

Summary

Ruff 0.9.1 introduces several preview diagnostics, improves rule messages, adds a formatter tweak, and fixes bugs in the server sync and specific lint rules.

✨ New Features

  • Preview: pycodestyle now runs `too-many-newlines-at-end-of-file` (W391) on each notebook cell.
  • Preview: ruff omits diagnostic for shadowed private function parameters in `used-dummy-variable` (RUF052).
  • Rule change: flake8-bugbear improves the `assert-raises-exception` message (B017).
  • Formatter: Preserve trailing end‑of‑line comments for the last string literal in implicitly concatenated strings.

🐛 Bug Fixes

  • Server: Fixed out‑of‑sync issue between server and client notebooks after reordering cells.
  • flake8-pie: Correctly remove wrapping parentheses (PIE800).
  • pyupgrade: Handle comments and multiline expressions correctly (UP037).

🔧 Affected Symbols

W391RUF052B017PIE800UP037