New features
- #6126: Add an experimental strict mode to
Style/MutableConstant
that will freeze all constants, rather than just literals. (@rrosenblum)
Bug fixes
- #6765: Fix false positives in keyword arguments for
Style/MethodCallWithArgsParentheses
omit_parentheses
. (@gsamokovarov) - #6763: Fix false positives in range literals for
Style/MethodCallWithArgsParentheses
omit_parentheses
. (@gsamokovarov) - #6748: Fix
Style/RaiseArgs
auto-correction breaking in contexts that require parentheses. (@drenmi) - #6751: Prevent
Style/OneLineConditional
from breaking onretry
andbreak
keywords. (@drenmi) - #6755: Prevent
Style/TrailingCommaInArgument
from breaking when a safe method call is chained on the offending method. (@drenmi, @hoshinotsuyoshi)