Skip to content

Bump rubocop from 1.75.5 to 1.78.0 #326

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 Jul 8, 2025

Bumps rubocop from 1.75.5 to 1.78.0.

Release notes

Sourced from rubocop's releases.

RuboCop v1.78.0

New features

Bug fixes

  • #14343: Fix autocorrect code for Style/HashConversion to avoid syntax error. (@​koic)
  • #14346: Avoid requiring parentheses for Style/SingleLineMethods. (@​koic)
  • #14339: Fix bug where specifying --format disables parallelization. (@​r7kamura)
  • #14300: Fix false positives for Lint/DuplicateMethods cop when self-alias trick is used. (@​viralpraxis)
  • #14329: Fix false positives for Lint/LiteralAsCondition when a literal is used inside || in case condition. (@​koic)
  • #14326: Fix additional autocorrection errors in Style/HashConversion for nested Hash[] calls. (@​dvandersluis)
  • #14031: Honor --config options on server mode. (@​steiley)
  • #14319: Fix the following incorrect autocorrect for Lint/RedundantTypeConversion when using parentheses with no arguments or any arguments. (@​koic)
  • #14336: Fix incorrect autocorrect for Style/ItBlockParameter when using a single numbered parameter after multiple numbered parameters in a method chain. (@​koic)
  • #11782: Move pending cops warning out of ConfigLoader. (@​nobuyo)

Changes

  • #14318: Add WaywardPredicates config to Naming/PredicateMethod to handle methods that look like predicates but aren't. (@​dvandersluis)

RuboCop v1.77.0

New features

Bug fixes

  • #14306: Fix an error for Style/HashConversion when using nested Hash[]. (@​koic)
  • #14298: Fix an error for Style/SoleNestedConditional when autocorrecting nested if/unless/if. ([@​ssagara00][])
  • #14313: Fix a false positive for Layout/SpaceBeforeBrackets when call desugared Hash#[] to lvar receiver with a space around the dot. (@​koic)
  • #14292: Fix false positives for Style/RedundantParentheses when assigning a parenthesized one-line in pattern matching. (@​koic)
  • #14296: Fix false positives for Style/RedundantSelf when receiver and lvalue have the same name in or-assignment. (@​koic)
  • #14303: Fix Lint/SelfAssignment to allow inline RBS comments. ([@​Morriar][])
  • #14307: Fix Style/MethodCallWithArgsParentheses false positive on forwarded keyword argument with additional arguments. (@​viralpraxis)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.78.0 (2025-07-08)

New features

Bug fixes

  • #14343: Fix autocorrect code for Style/HashConversion to avoid syntax error. ([@​koic][])
  • #14346: Avoid requiring parentheses for Style/SingleLineMethods. ([@​koic][])
  • #14339: Fix bug where specifying --format disables parallelization. ([@​r7kamura][])
  • #14300: Fix false positives for Lint/DuplicateMethods cop when self-alias trick is used. ([@​viralpraxis][])
  • #14329: Fix false positives for Lint/LiteralAsCondition when a literal is used inside || in case condition. ([@​koic][])
  • #14326: Fix additional autocorrection errors in Style/HashConversion for nested Hash[] calls. ([@​dvandersluis][])
  • #14031: Honor --config options on server mode. ([@​steiley][])
  • #14319: Fix the following incorrect autocorrect for Lint/RedundantTypeConversion when using parentheses with no arguments or any arguments. ([@​koic][])
  • #14336: Fix incorrect autocorrect for Style/ItBlockParameter when using a single numbered parameter after multiple numbered parameters in a method chain. ([@​koic][])
  • #11782: Move pending cops warning out of ConfigLoader. ([@​nobuyo][])

Changes

  • #14318: Add WaywardPredicates config to Naming/PredicateMethod to handle methods that look like predicates but aren't. ([@​dvandersluis][])

1.77.0 (2025-06-20)

New features

Bug fixes

  • #14306: Fix an error for Style/HashConversion when using nested Hash[]. ([@​koic][])
  • #14298: Fix an error for Style/SoleNestedConditional when autocorrecting nested if/unless/if. ([@​ssagara00][])
  • #14313: Fix a false positive for Layout/SpaceBeforeBrackets when call desugared Hash#[] to lvar receiver with a space around the dot. ([@​koic][])
  • #14292: Fix false positives for Style/RedundantParentheses when assigning a parenthesized one-line in pattern matching. ([@​koic][])
  • #14296: Fix false positives for Style/RedundantSelf when receiver and lvalue have the same name in or-assignment. ([@​koic][])
  • #14303: Fix Lint/SelfAssignment to allow inline RBS comments. ([@​Morriar][])
  • #14307: Fix Style/MethodCallWithArgsParentheses false positive on forwarded keyword argument with additional arguments. ([@​viralpraxis][])
  • #14301: Fix autocorrection syntax error for multiline expressions in Style/RedundantParentheses. ([@​lovro-bikic][])

Changes

  • #14295: Update Naming/PredicateMethod to consider negation (!/not) as boolean values. ([@​dvandersluis][])

... (truncated)

Commits
  • dd441f4 Cut 1.78
  • 0687f04 Update Changelog
  • 9322c7d Tweak docstring
  • 2508d94 Fix false positives for Lint/DuplicateMethods when the self-alias trick is used
  • 9582c40 [Fix #11782] Move pending cops warning out of ConfigLoader
  • 6c863b3 [Fix #14346] Avoid requiring parentheses for Style/SingleLineMethods
  • 0b08bb8 Merge pull request #14343 from koic/fix_autocorrect_for_style_hash_conversion
  • 0ef54b5 Fix autocorrect for Style/HashConversion to avoid syntax error
  • 01fdcbb Remove redundant method call in def_node_matcher
  • a80d92b [Doc] Remove redundant blank line
  • 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.75.5 to 1.78.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.75.5...v1.78.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.78.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Jul 8, 2025
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