rubocop-github
rubocop-github copied to clipboard
Bump rubocop from 1.81.1 to 1.81.7
Bumps rubocop from 1.81.1 to 1.81.7.
Release notes
Sourced from rubocop's releases.
RuboCop v1.81.7
Bug fixes
- #14597: Fix an infinite loop error for
Layout/HashAlignmentwhenEnforcedStyle: with_fixed_indentationis specified forLayout/ArgumentAlignment. (@koic)- #14621: Fix an error for
Naming/PredicateMethodwhen using aninpattern with empty parentheses body. (@koic)- #14631: Fix an error for
Style/SoleNestedConditionalwhen using nested single lineif. (@koic)- #14626: Fix false positives in
Style/ConstantVisibilitywhen visibility is declared with multiple constants. (@koic)- #14628: Fix false positives for
Style/FloatDivisionwhen usingRegexp.last_matchor nth reference (e.g.,$1). (@koic)- #14617: Handle non-specific issues with the Gemfile to allow fallback. (
@Fryguy)- #14622: Fix an error for
Naming/MethodNamewhen the first argument toaliascontains interpolation. (@earlopain)RuboCop v1.81.6
Bug fixes
- #14587: Fix an error for
Lint/SelfAssignmentwhen using[]=assignment with no arguments. (@koic)- #14572: Fix an error for
Style/ArrayIntersectwhenintersection(other).any?is called without a receiver. (@koic)- #14599: Fix a crash when
Style/ConditionalAssignmentis configured withassign_inside_conditionaland the conditional contains a multi-line regex. (@martinemde)- #14574: Fix false positives for
Style/RedundantInterpolationwhen using a one-line=>pattern matching. (@koic)- #14602: Fix false positives for
Style/EndlessMethodwhen heredoc is used in method body. (@koic)- #14594: Fix false positives for
Style/EndlessMethodwhen the endless method would exceed the maximum line length. (@koic)- #14605: Fix false positive for
Lint/EmptyInterpolationwhen interpolation is inside a%Wliteral. (@dvandersluis)- #14604: Fix
Style/RedundantFormatfalse positive when a interpolated value is given to a specifier with a width or precision. (@dvandersluis)- #14607: Fix
Style/RedundantFormathandling control characters like\n. (@dvandersluis)- #14577: Fix an incorrect autocorrect for
Style/Semicolonwhen a method call using hash value omission without parentheses is terminated with a semicolon. (@koic)- #14552: Fix a false positive for
Security/JSONLoadwhencreate_additionsis explicitly specified. (@earlopain)Changes
- #14566: Enhance
Lint::ConstantOverwrittenInRescuecop to detect offenses within fully qualified constants. (@viralpraxis)- #14575: Enhance
Lint/ConstantOverwrittenInRescuecop to detect offenses within nested constants. (@viralpraxis)- #14596: Change
Lint/ConstantOverwrittenInRescueto detect any constant assignment. (@viralpraxis)- #14568: Make
Style/LambdaCallautocorrection contextual. (@koic)
Changelog
Sourced from rubocop's changelog.
1.81.7 (2025-10-31)
Bug fixes
- #14597: Fix an infinite loop error for
Layout/HashAlignmentwhenEnforcedStyle: with_fixed_indentationis specified forLayout/ArgumentAlignment. ([@koic][])- #14621: Fix an error for
Naming/PredicateMethodwhen using aninpattern with empty parentheses body. ([@koic][])- #14631: Fix an error for
Style/SoleNestedConditionalwhen using nested single lineif. ([@koic][])- #14626: Fix false positives in
Style/ConstantVisibilitywhen visibility is declared with multiple constants. ([@koic][])- #14628: Fix false positives for
Style/FloatDivisionwhen usingRegexp.last_matchor nth reference (e.g.,$1). ([@koic][])- #14617: Handle non-specific issues with the Gemfile to allow fallback. ([
@Fryguy][])- #14622: Fix an error for
Naming/MethodNamewhen the first argument toaliascontains interpolation. ([@earlopain][])1.81.6 (2025-10-21)
Bug fixes
- #14587: Fix an error for
Lint/SelfAssignmentwhen using[]=assignment with no arguments. ([@koic][])- #14572: Fix an error for
Style/ArrayIntersectwhenintersection(other).any?is called without a receiver. ([@koic][])- #14599: Fix a crash when
Style/ConditionalAssignmentis configured withassign_inside_conditionaland the conditional contains a multi-line regex. ([@martinemde][])- #14574: Fix false positives for
Style/RedundantInterpolationwhen using a one-line=>pattern matching. ([@koic][])- #14602: Fix false positives for
Style/EndlessMethodwhen heredoc is used in method body. ([@koic][])- #14594: Fix false positives for
Style/EndlessMethodwhen the endless method would exceed the maximum line length. ([@koic][])- #14605: Fix false positive for
Lint/EmptyInterpolationwhen interpolation is inside a%Wliteral. ([@dvandersluis][])- #14604: Fix
Style/RedundantFormatfalse positive when a interpolated value is given to a specifier with a width or precision. ([@dvandersluis][])- #14607: Fix
Style/RedundantFormathandling control characters like\n. ([@dvandersluis][])- #14577: Fix an incorrect autocorrect for
Style/Semicolonwhen a method call using hash value omission without parentheses is terminated with a semicolon. ([@koic][])- #14552: Fix a false positive for
Security/JSONLoadwhencreate_additionsis explicitly specified. ([@earlopain][])Changes
- #14566: Enhance
Lint::ConstantOverwrittenInRescuecop to detect offenses within fully qualified constants. ([@viralpraxis][])- #14575: Enhance
Lint/ConstantOverwrittenInRescuecop to detect offenses within nested constants. ([@viralpraxis][])- #14596: Change
Lint/ConstantOverwrittenInRescueto detect any constant assignment. ([@viralpraxis][])- #14568: Make
Style/LambdaCallautocorrection contextual. ([@koic][])
Commits
4a9b053Cut 1.81.74e6aec2Update Changelog8b61b58Remove uselsss code fromLint/Debugger356416dSkip unnecessary logic inStyle/Semicolonc7d19ab[Docs] Tweak the doc forLint/MissingCopEnableDirectiveb7cad37Reuses.versionin gemspec300e29bFix an error forStyle/SoleNestedConditionaleb0b07aRemovebundlergem from Gemfilee4baec8Merge pull request #14629 from koic/fix_false_positives_for_style_float_divisionf8e8cfaMerge pull request #14627 from koic/fix_false_positives_for_style_constant_vi...- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.