Change8

0.11.13

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

Summary

Ruff 0.11.13 introduces several preview features, adds Python 3.14 t‑string support, and includes bug fixes across multiple plugins.

✨ New Features

  • Add unsafe fix for module moved cases in the \`airflow\` plugin (AIR301, AIR311, AIR312, AIR302).
  • Add coverage of \`set\` and \`frozenset\` calls in the \`refurb\` plugin (FURB171).
  • Mark \`FURB180\` fix as unsafe when a class has bases in the \`refurb\` plugin.
  • Avoid false positive for class dependencies in the \`fastapi\` plugin (FAST003).
  • Support Python 3.14 template strings (t-strings) in the formatter and parser.

🐛 Bug Fixes

  • Fix missing parentheses for lambda and ternary conditions in the \`perflint\` plugin (PERF401, PERF403).
  • Apply \`UP035\` only on Python 3.13+ for \`get_type_hints()\` in the \`pyupgrade\` plugin.
  • Make fix unsafe if it deletes comments in the \`pyupgrade\` plugin (UP004, UP050).

🔧 Affected Symbols

airflowrefurbperflintpyupgradefastapiformatterparser