Change8

0.15.13

📦 ruffView on GitHub →
4 features🐛 4 fixes🔧 8 symbols

Summary

Ruff version 0.15.13 introduces new preview linting rules, standardizes Pylint diagnostics, and includes several bug fixes across various rule sets. Configuration options like `line-length` have also been adjusted.

Migration Steps

  1. Increase the maximum allowed value of the `line-length` setting if you were previously hitting the limit.

✨ New Features

  • Added a rule to flag lazy imports that are eagerly evaluated.
  • Standardized diagnostic messages for Pylint rules PLR0914 and PLR0917.
  • Added TOML examples to the --config help text.
  • Colorized the 'All checks passed' message in the CLI output.

🐛 Bug Fixes

  • Fixed F811 false positive for class methods.
  • Fixed selection setting for multi-folder workspaces.
  • Fixed ERA001 false positive for lines with leading whitespace in eradicate.
  • Fixed PYI016 false positive for f-string debug specifier in flake8-pyi.

Affected Symbols