Change8

0.15.18

📦 ruffView on GitHub →
7 features🐛 3 fixes🔧 2 symbols

Summary

This release introduces several preview features focused on improving output readability and handling nested ignore comments. It also includes numerous parser validation improvements and bug fixes related to dictionary key detection.

Migration Steps

  1. Rename rule `PYI033` to `legacy-type-comment`.

✨ New Features

  • Handle nested `ruff:ignore` comments (Preview)
  • Stop displaying severity in output (Preview)
  • Use human-readable names in CLI output (Preview)
  • Use human-readable names in LSP and playground diagnostics (Preview)
  • Prevent property docstrings starting with verbs (`D421`) for pydocstyle (Preview)
  • Extend `PYI033` to Python files for flake8-pyi (Preview)
  • Render subdiagnostics and secondary annotations as related information in Server

🐛 Bug Fixes

  • Detect equivalent numeric mapping keys
  • Detect mapping keys equivalent to booleans
  • Detect repeated signed and complex dictionary keys

Affected Symbols