Change8

0.15.15

📦 ruffView on GitHub →
2 features🐛 4 fixes🔧 9 symbols

Summary

This release focuses on performance improvements, bug fixes across several linters (including pyflakes and formatter), and documentation updates. Key changes include better handling of Markdown fences and PEP 526 annotations.

✨ New Features

  • Preview feature: Report duplicate imports in `typing.TYPE_CHECKING` block (`F811`) via pyflakes.
  • Expand semantic syntax errors for invalid walruses.

🐛 Bug Fixes

  • Fix Markdown closing fence handling.
  • Fix pyflakes treating function-scope bare annotations as locals per PEP 526 (`F821`).
  • Fix formatting of lambdas nested within f-strings in the Formatter.
  • Return code action for `codeAction/resolve` requests that contain no or no valid URL in the Language Server.

Affected Symbols