Skip to content

Bump rubocop from 1.75.8 to 1.77.0 #219

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 Jun 20, 2025

Bumps rubocop from 1.75.8 to 1.77.0.

Release notes

Sourced from rubocop's releases.

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)
  • #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)
  • #14255: Update Naming/PredicateMethod to treat returned predicate method calls as boolean values. (@​dvandersluis)

RuboCop v1.76.2

Bug fixes

  • #14273: Fix an error for Lint/EmptyInterpolation when using a boolean literal inside interpolation. (@​koic)
  • #14260: Fix an error for Lint/UselessDefaultValueArgument when fetch call without a receiver. (@​koic)
  • #14267: Fix an error for Style/ConditionalAssignment cop when using one-line branches. (@​viralpraxis)
  • #14275: Fix false positives for Style/RedundantParentheses when using parenthesized one-line pattern matching in endless method definition. (@​koic)
  • #14269: Fix false positives for Style/RedundantSelf when local variable assignment name is used in nested if. (@​koic)
  • #14286: Fix incorrect autocorrect for Lint/SafeNavigationChain when a safe navigation is used on the left-hand side of a - operator when inside an array. (@​koic)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

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][])
  • #14255: Update Naming/PredicateMethod to treat returned predicate method calls as boolean values. ([@​dvandersluis][])

1.76.2 (2025-06-17)

Bug fixes

  • #14273: Fix an error for Lint/EmptyInterpolation when using a boolean literal inside interpolation. ([@​koic][])
  • #14260: Fix an error for Lint/UselessDefaultValueArgument when fetch call without a receiver. ([@​koic][])
  • #14267: Fix an error for Style/ConditionalAssignment cop when using one-line branches. ([@​viralpraxis][])
  • #14275: Fix false positives for Style/RedundantParentheses when using parenthesized one-line pattern matching in endless method definition. ([@​koic][])
  • #14269: Fix false positives for Style/RedundantSelf when local variable assignment name is used in nested if. ([@​koic][])
  • #14286: Fix incorrect autocorrect for Lint/SafeNavigationChain when a safe navigation is used on the left-hand side of a - operator when inside an array. ([@​koic][])

Changes

  • #14232: Add AllowedPatterns and AllowBangMethods configuration to Naming/PredicateMethod. ([@​dvandersluis][])
  • #14268: Register operator expression range boundaries as offenses in Lint/AmbiguousRange. ([@​lovro-bikic][])
  • #14264: Offend access modifiers used on top-level in Lint/UselessAccessModifier. ([@​lovro-bikic][])
  • #14278: Register conditions wrapped in parentheses as offenses in Style/MinMaxComparison. ([@​lovro-bikic][])

1.76.1 (2025-06-09)

Bug fixes

  • #14245: Fix an error for Lint/EmptyInterpolation when using primitives in interpolation. ([@​ka8725][])

... (truncated)

Commits
  • e8e3ae7 Cut 1.77
  • a56b16c Update Changelog
  • 45f1b00 [Fix #14128] Allow long fully-qualified namespace strings to exceed max length
  • bd1690c [Docs] Update a link to Parser's API docs
  • 56d4ebf Fix links in Plugin Configuration docs
  • 37540d2 Enhance Gemspec/RequireMFA cop autocorrect to insert MFA directive after la...
  • 80aff64 [Fix #14306] Fix an error for Style/HashConversion
  • 600d0a2 [Fix #14313] Fix a false positive for Layout/SpaceBeforeBrackets
  • ca09f02 Fix autocorrection syntax error for multiline expressions in Style/RedundantP...
  • 2d86c22 [Fix #14165] Add new DefaultToNil option to Style/FetchEnvVar cop
  • 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.8 to 1.77.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.75.8...v1.77.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.77.0
  dependency-type: direct:development
  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 Jun 20, 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