Change8

0.14.10

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

Summary

Ruff 0.14.10 introduces fluent formatter enhancements, new linting rules, and several rule behavior updates along with bug fixes and documentation improvements.

✨ New Features

  • formatter: Fluent formatting of method chains (PR #21369).
  • formatter: Keep lambda parameters on one line and parenthesize the body if it expands (PR #21385).
  • flake8-implicit-str-concat: New rule ISC004 to prevent implicit string concatenation in collections (PR #21972).
  • flake8-use-pathlib: Make fixes unsafe when types change in compound statements (rules PTH104, PTH105, PTH109, PTH115) (PR #22009).
  • refurb: Extend support for Path.open (rules FURB101, FURB103) (PR #21080).
  • eradicate: Now ignores ruff:disable and ruff:enable comments in ERA001 (PR #22038).
  • flake8-pytest-style: Allows match and check keyword arguments without an expected exception type (rule PT010) (PR #21964).
  • syntax-errors: Annotated name cannot be global (PR #20868).

🐛 Bug Fixes

  • pyupgrade: Fixed parsing of named Unicode escape sequences (rule UP032) (PR #21901).
  • Playground Share button now waits for clipboard copy before showing "Copied!" (PR #21942).

🔧 Affected Symbols

formatterflake8_implicit_str_concatflake8_use_pathlibrefurbpyupgradeeradicateflake8_pytest_stylesyntax_errorsplayground