autotuner
autotuner copied to clipboard
Bump rubocop from 1.66.1 to 1.75.5
Bumps rubocop from 1.66.1 to 1.75.5.
Release notes
Sourced from rubocop's releases.
RuboCop v1.75.5
Bug fixes
- #14148: Fix an infinite loop error for
Layout/SpaceAfterSemicolonwithLayout/SpaceBeforeSemicolonwhen a sequence of semicolons appears. (@koic)- #14145: Fix
Lint/ArrayLiteralInRegexpcop error on empty interpolation. (@viralpraxis)- #14072: Fix autocorrect issue in
Layout/HashAlignment. (@jonas054)- #14131: Fix false positives for
Style/ArgumentsForwardingwhen using anonymous block argument forwarding to a method with a block. (@koic)- #14140: Fix
Layout/LeadingCommentSpaceto allow splitting long inline RBS comment signatures across multiple lines. (@Morriar)- #14147: Fix
Lint/LiteralAsConditioncop error onifwithout body. (@viralpraxis)- #14151: Fix
Lint/Voidcop error on nested emptybegin. (@viralpraxis)- #13547: Fix
Style/IdenticalConditionalBranchescop failure in case ofifnode with implicitthen. (@viralpraxis)- #14146: Fix
Style/MethodCallWithArgsParenthesescop error on complex numbers whenEnforcedStyleis set toomit_parentheses. (@viralpraxis)- #14137: Fix
Style/TrailingCommaInArgumentscop error ifEnforcedStyleForMultilineis set tocomma. (@viralpraxis)Changes
- #14144:
Layout/SpaceInsideArrayLiteralBracketsmake aware of array pattern matching. (@koic)- #14142:
Layout/SpaceInsideHashLiteralBracesmake aware of hash pattern matching. (@koic)RuboCop v1.75.4
Bug fixes
- #14123: Fix an infinite loop error for
Lint/BooleanSymbolwhen using the rocket hash syntax with a boolean symbol key. (@koic)- #14134: Fix an error for
Style/ComparableBetweenwhen comparing the value with itself. (@earlopain)- #14111: Fix an error for
Style/SafeNavigationwhen the RHS of&&is a complex||expression composed of&&conditions. (@koic)- #14129: Fix false positives for
Style/ArgumentsForwardingwhen using default positional arg, keyword arg, and block arg in Ruby 3.1. (@koic)- #14110: Fix false positives for
Style/RedundantParentheseswhen parens around basic conditional as the second argument of a parenthesized method call. (@koic)- #14120: Fix false positives for
Style/RedundantParentheseswhen parens around unparenthesized method call as the second argument of a parenthesized method call. (@koic)- #14133: Fix
Lint/LiteralAsConditionautocorrect when a literal is the condition of an elsif followed by an else. (@zopolis4)- #14116: Make
Style/TrailingCommaInArgumentscop aware of trailing commas in[]method call. (@viralpraxis)- #14114: Fix
Style/ClassAndModuleChildrencop error on tab-intended compactable modules. (@viralpraxis)Changes
- #13611: Enable
Lint/CircularArgumentReferenceon Ruby 3.4. (@earlopain)RuboCop v1.75.3
Bug fixes
- #13676: Allow RuboCop to inspect hidden directories if they are explicitly provided. (
@viralpraxis)
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.75.5 (2025-05-05)
Bug fixes
- #14148: Fix an infinite loop error for
Layout/SpaceAfterSemicolonwithLayout/SpaceBeforeSemicolonwhen a sequence of semicolons appears. ([@koic][])- #14145: Fix
Lint/ArrayLiteralInRegexpcop error on empty interpolation. ([@viralpraxis][])- #14072: Fix autocorrect issue in
Layout/HashAlignment. ([@jonas054][])- #14131: Fix false positives for
Style/ArgumentsForwardingwhen using anonymous block argument forwarding to a method with a block. ([@koic][])- #14140: Fix
Layout/LeadingCommentSpaceto allow splitting long inline RBS comment signatures across multiple lines. ([@Morriar][])- #14147: Fix
Lint/LiteralAsConditioncop error onifwithout body. ([@viralpraxis][])- #14151: Fix
Lint/Voidcop error on nested emptybegin. ([@viralpraxis][])- #13547: Fix
Style/IdenticalConditionalBranchescop failure in case ofifnode with implicitthen. ([@viralpraxis][])- #14146: Fix
Style/MethodCallWithArgsParenthesescop error on complex numbers whenEnforcedStyleis set toomit_parentheses. ([@viralpraxis][])- #14137: Fix
Style/TrailingCommaInArgumentscop error ifEnforcedStyleForMultilineis set tocomma. ([@viralpraxis][])Changes
- #14144:
Layout/SpaceInsideArrayLiteralBracketsmake aware of array pattern matching. ([@koic][])- #14142:
Layout/SpaceInsideHashLiteralBracesmake aware of hash pattern matching. ([@koic][])1.75.4 (2025-04-28)
Bug fixes
- #14123: Fix an infinite loop error for
Lint/BooleanSymbolwhen using the rocket hash syntax with a boolean symbol key. ([@koic][])- #14134: Fix an error for
Style/ComparableBetweenwhen comparing the value with itself. ([@earlopain][])- #14111: Fix an error for
Style/SafeNavigationwhen the RHS of&&is a complex||expression composed of&&conditions. ([@koic][])- #14129: Fix false positives for
Style/ArgumentsForwardingwhen using default positional arg, keyword arg, and block arg in Ruby 3.1. ([@koic][])- #14110: Fix false positives for
Style/RedundantParentheseswhen parens around basic conditional as the second argument of a parenthesized method call. ([@koic][])- #14120: Fix false positives for
Style/RedundantParentheseswhen parens around unparenthesized method call as the second argument of a parenthesized method call. ([@koic][])- #14133: Fix
Lint/LiteralAsConditionautocorrect when a literal is the condition of an elsif followed by an else. ([@zopolis4][])- #14116: Make
Style/TrailingCommaInArgumentscop aware of trailing commas in[]method call. ([@viralpraxis][])- #14114: Fix
Style/ClassAndModuleChildrencop error on tab-intended compactable modules. ([@viralpraxis][])Changes
- #13611: Enable
Lint/CircularArgumentReferenceon Ruby 3.4. ([@earlopain][])1.75.3 (2025-04-22)
Bug fixes
- #13676: Allow RuboCop to inspect hidden directories if they are explicitly provided. ([
@viralpraxis][])- #14080: Allow writing RBS::Inline annotation
#:after end keyword inStyle/CommentedKeyword. ([@dak2][])- #14075: Fix an error for
Layout/EmptyLineAfterGuardClausewhen calling a method on the result of a single-lineifwithreturn. ([@koic][])- #14067: Fix false negatives for
Style/RedundantParentheseswhen using parens around singleton method body. ([@koic][])- #14070: Fix false positives for
EnforcedStyleForMultiline: diff_commaofStyle/TrailingCommaInArrayLiteralandStyle/TrailingCommaInHashLiteralwhen trailing comma with comment. ([@koic][])- #14092: Fix false negative for
Style/RedundantParentheseswhen using some operator methods with a parenthesized argument. ([@koic][])- #14103: Fix
Layout/MultilineOperationIndentationcop error onindexasgnnode without arguments. ([@viralpraxis][])- #14089: Fix redundant current directory prefix regexp. ([
@sferik][])
... (truncated)
Commits
4c07aa6Cut 1.75.512c3e0aUpdate Changelog8f7c4cdFollow-up to #14146ddbb2a1Merge pull request #14151 from viralpraxis/fix-lint-void-cop-error-on-nested-...ac3b746[Fix #14072] Resolve autocorrect issue in Layout/HashAlignment187a663Fix an infinite loop error forLayout/SpaceAfterSemicolonwith `Layout/Spac...1f95defLayout/SpaceInsideArrayLiteralBracketsmake aware of array pattern matching30d8275[Fix #14142]Layout/SpaceInsideHashLiteralBracesmake aware of hash pattern...7bc3762FixLint/Voidcop error on nested emptybegind6e40f0Merge pull request #14147 from viralpraxis/fix-lint-literal-as-condition-cop-...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)