Skip to content

chore: Update rubocop requirement from 1.75.3 to 1.75.4 #1068

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 29, 2025

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop v1.75.4

Bug fixes

  • #14123: Fix an infinite loop error for Lint/BooleanSymbol when using the rocket hash syntax with a boolean symbol key. (@​koic)
  • #14134: Fix an error for Style/ComparableBetween when comparing the value with itself. (@​earlopain)
  • #14111: Fix an error for Style/SafeNavigation when the RHS of && is a complex || expression composed of && conditions. (@​koic)
  • #14129: Fix false positives for Style/ArgumentsForwarding when using default positional arg, keyword arg, and block arg in Ruby 3.1. (@​koic)
  • #14110: Fix false positives for Style/RedundantParentheses when parens around basic conditional as the second argument of a parenthesized method call. (@​koic)
  • #14120: Fix false positives for Style/RedundantParentheses when parens around unparenthesized method call as the second argument of a parenthesized method call. (@​koic)
  • #14133: Fix Lint/LiteralAsCondition autocorrect when a literal is the condition of an elsif followed by an else. (@​zopolis4)
  • #14116: Make Style/TrailingCommaInArguments cop aware of trailing commas in [] method call. (@​viralpraxis)
  • #14114: Fix Style/ClassAndModuleChildren cop error on tab-intended compactable modules. (@​viralpraxis)

Changes

Changelog

Sourced from rubocop's changelog.

1.75.4 (2025-04-28)

Bug fixes

  • #14123: Fix an infinite loop error for Lint/BooleanSymbol when using the rocket hash syntax with a boolean symbol key. ([@​koic][])
  • #14134: Fix an error for Style/ComparableBetween when comparing the value with itself. ([@​earlopain][])
  • #14111: Fix an error for Style/SafeNavigation when the RHS of && is a complex || expression composed of && conditions. ([@​koic][])
  • #14129: Fix false positives for Style/ArgumentsForwarding when using default positional arg, keyword arg, and block arg in Ruby 3.1. ([@​koic][])
  • #14110: Fix false positives for Style/RedundantParentheses when parens around basic conditional as the second argument of a parenthesized method call. ([@​koic][])
  • #14120: Fix false positives for Style/RedundantParentheses when parens around unparenthesized method call as the second argument of a parenthesized method call. ([@​koic][])
  • #14133: Fix Lint/LiteralAsCondition autocorrect when a literal is the condition of an elsif followed by an else. ([@​zopolis4][])
  • #14116: Make Style/TrailingCommaInArguments cop aware of trailing commas in [] method call. ([@​viralpraxis][])
  • #14114: Fix Style/ClassAndModuleChildren cop error on tab-intended compactable modules. ([@​viralpraxis][])

Changes

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 in Style/CommentedKeyword. ([@​dak2][])
  • #14075: Fix an error for Layout/EmptyLineAfterGuardClause when calling a method on the result of a single-line if with return. ([@​koic][])
  • #14067: Fix false negatives for Style/RedundantParentheses when using parens around singleton method body. ([@​koic][])
  • #14070: Fix false positives for EnforcedStyleForMultiline: diff_comma of Style/TrailingCommaInArrayLiteral and Style/TrailingCommaInHashLiteral when trailing comma with comment. ([@​koic][])
  • #14092: Fix false negative for Style/RedundantParentheses when using some operator methods with a parenthesized argument. ([@​koic][])
  • #14103: Fix Layout/MultilineOperationIndentation cop error on indexasgn node without arguments. ([@​viralpraxis][])
  • #14089: Fix redundant current directory prefix regexp. ([@​sferik][])
  • #14099: Fix Style/ClassAndModuleChildren cop error on one-liner class definition and nested enforced style. ([@​viralpraxis][])
  • #14083: Fix Style/ConditionalAssignment cop error on one-line if-then-else. ([@​viralpraxis][])
  • #14104: Fix Style/ConditionalAssignment cop error on indexed assignment without arguments. ([@​viralpraxis][])
  • #14084: Fix Style/RedundantLineContinuation cop error on multiline assignment with line continuation. ([@​viralpraxis][])
  • #14096: Fix error for Style/SafeNavigation with longer && chain (e.g. a && a.b && a.b.c). ([@​lovro-bikic][])
  • #14068: Fix wrong autocorrection for Style/MapIntoArray when using push or append with hash argument without braces. ([@​lovro-bikic][])

Changes

1.75.2 (2025-04-03)

Changes

  • #14065: Update Lint/RedundantTypeConversion to register an offense for to_json.to_s. ([@​lovro-bikic][])

Bug fixes

... (truncated)

Commits
  • eeda3b2 Cut 1.75.4
  • 4ad182c Update Changelog
  • da245af Fix Lint/LiteralAsCondition autocorrect when a literal is the condition of ...
  • c9d38e1 [Fix #14116] Make Style/TrailingCommaInArguments cop aware of trailing comm...
  • f669bb1 Fix Style/ClassAndModuleChildren cop error on tab-intended compactable modules
  • 7d1070b Fix an error for Style/ComparableBetween when comparing the value with itself
  • a2f38ce Merge pull request #14130 from koic/fix_false_positive_for_style_arguments_fo...
  • 3aadb46 [Fix #14129] Fix false positives for Style/ArgumentsForwarding
  • d3f6b08 Merge pull request #14126 from koic/fix_an_error_lint_boolean_symbol
  • 7dea554 [Fix #14123] Fix an error for Lint/BooleanSymbol
  • 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.75.3...v1.75.4)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.75.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Apr 29, 2025
@dependabot dependabot bot requested a review from KazuCocoa as a code owner April 29, 2025 11:35
@KazuCocoa KazuCocoa merged commit 0398421 into master Apr 30, 2025
5 checks passed
@KazuCocoa KazuCocoa deleted the dependabot/bundler/rubocop-1.75.4 branch April 30, 2025 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant