Skip to content

Bump rubocop from 1.57.2 to 1.75.3 #508

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rubocop from 1.57.2 to 1.75.3.

Release notes

Sourced from rubocop's releases.

RuboCop v1.75.3

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

RuboCop v1.75.2

Changes

Bug fixes

  • #14041: Fix an error when using ERB templated config YAML with server mode. (@​koic)
  • #14048: Do not emit a warning for a zero-sized file while checking if it is executable. (@​viralpraxis)
  • #14053: Fix incorrect autocorrect for Lint/DeprecatedOpenSSLConstant cipher constant argument is not cbc. (@​koic)
  • #14051: Fix incorrect autocorrect for Style/RedundantCondition when true is used as the true branch and the condition takes arguments. (@​koic)
  • #14062: Fix false positives for Lint/ReturnInVoidContext when returning inside define_method or a nested singleton method. (@​earlopain)
  • #14057: Fix Style/ConditionalAssignment cop error on dynamic string node in branch. (@​viralpraxis)
  • #14047: Fix Style/FrozenStringLiteralComment cop errors on emacs-styled magic comment. (@​viralpraxis)

... (truncated)

Changelog

Sourced from rubocop's changelog.

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

  • #14041: Fix an error when using ERB templated config YAML with server mode. ([@​koic][])
  • #14048: Do not emit a warning for a zero-sized file while checking if it is executable. ([@​viralpraxis][])
  • #14053: Fix incorrect autocorrect for Lint/DeprecatedOpenSSLConstant cipher constant argument is not cbc. ([@​koic][])
  • #14051: Fix incorrect autocorrect for Style/RedundantCondition when true is used as the true branch and the condition takes arguments. ([@​koic][])
  • #14062: Fix false positives for Lint/ReturnInVoidContext when returning inside define_method or a nested singleton method. ([@​earlopain][])
  • #14057: Fix Style/ConditionalAssignment cop error on dynamic string node in branch. ([@​viralpraxis][])
  • #14047: Fix Style/FrozenStringLiteralComment cop errors on emacs-styled magic comment. ([@​viralpraxis][])

1.75.1 (2025-03-26)

Changes

  • #14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. ([@​koic][])

1.75.0 (2025-03-26)

New features

... (truncated)

Commits
  • 05f0b56 Cut 1.75.3
  • fc7022a Update Changelog
  • 8dd8713 Make InternalAffairs/ExampleDescription aware of xit and fit
  • 0ea19f0 Merge pull request #14104 from viralpraxis/fix-style-conditional-assignment-c...
  • 543eeaf Merge pull request #14105 from viralpraxis/bump-rubocop-rspec-dependency
  • fb1de41 Merge pull request #14101 from lovro-bikic/docs-formatting-issues
  • a96fae0 Bump rubocop-rspec development dependency
  • 83de373 Fix Style/ConditionalAssignment cop error on indexed assignment without arg...
  • 33e9b93 Merge pull request #14103 from viralpraxis/fix-layout-multiline-operation-ide...
  • 3409c8e Fix Layout/MultilineOperationIndentation cop error on indexasgn node with...
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.2 to 1.75.3.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.57.2...v1.75.3)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.75.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 22, 2025
@github-actions github-actions bot enabled auto-merge April 22, 2025 17:47
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.

0 participants