Skip to content

Bump rubocop from 1.79.2 to 1.80.0 #534

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
Aug 22, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rubocop from 1.79.2 to 1.80.0.

Release notes

Sourced from rubocop's releases.

RuboCop v1.80.0

Bug fixes

  • #14469: Fix an incorrect autocorrect for Style/BitwisePredicate when using & with LHS flags in conjunction with == for comparisons. (@​koic)
  • #14459: Fix wrong autocorrect for Style/For with save navigation in the collection. (@​earlopain)
  • #14435: Fix false negatives for regexp cops when Lint/DuplicateRegexpCharacterClassElement is enabled. (@​earlopain)
  • #14419: Fix false positives for Lint/UselessAssignment when duplicate assignments appear in nested if branches inside a loop and the variable is used outside while loop. (@​koic)
  • #14468: Fix false positives for Naming/MethodName when an operator method is defined using a string. (@​koic)
  • #14427: Fix false positives for Style/RedundantParentheses when do...end block is wrapped in parentheses as a method argument. (@​koic)
  • #14441: Better hash access handling in Style/SafeNavigation. (@​issyl0)
  • #14443: Fix false positive in Layout/EmptyLinesAfterModuleInclusion when include does not have exactly one argument. (@​issyl0)
  • #14424: Fix Style/SafeNavigation cop to preserve existing safe navigation in fixed code. (@​martinemde)
  • #14455: Follow module inclusion with nonzero args with an empty line. (@​issyl0)
  • #14445: Fix false positives for Lint/UselessAssignment with for loops when the variable is referenced in the collection. (@​earlopain)
  • #14447: Fix wrong autocorrect for Style/RedundantCondition with a parenthesised method call in the condition. (@​earlopain)

Changes

  • #14428: Enhance Lint/SelfAssignment to handle indexed assignment with multiple arguments. (@​viralpraxis)
  • #14464: Exclude AutoCorrect and Include from configuration parameters. (@​r7kamura)
  • #14472: Make Style/RedundantBegin aware of case pattern matching. (@​koic)
  • #14448: Register array intersection size checks as offenses under Style/ArrayIntersect. (@​lovro-bikic)
  • #14431: Support LSP TextDocumentSyncKind.Incremental. (@​tmtm)
  • #14453: Update Style/RedundantBegin to register begin blocks inside if, unless, case, while and until as redundant. (@​dvandersluis)
Changelog

Sourced from rubocop's changelog.

1.80.0 (2025-08-22)

Bug fixes

  • #14469: Fix an incorrect autocorrect for Style/BitwisePredicate when using & with LHS flags in conjunction with == for comparisons. ([@​koic][])
  • #14459: Fix wrong autocorrect for Style/For with save navigation in the collection. ([@​earlopain][])
  • #14435: Fix false negatives for regexp cops when Lint/DuplicateRegexpCharacterClassElement is enabled. ([@​earlopain][])
  • #14419: Fix false positives for Lint/UselessAssignment when duplicate assignments appear in nested if branches inside a loop and the variable is used outside while loop. ([@​koic][])
  • #14468: Fix false positives for Naming/MethodName when an operator method is defined using a string. ([@​koic][])
  • #14427: Fix false positives for Style/RedundantParentheses when do...end block is wrapped in parentheses as a method argument. ([@​koic][])
  • #14441: Better hash access handling in Style/SafeNavigation. ([@​issyl0][])
  • #14443: Fix false positive in Layout/EmptyLinesAfterModuleInclusion when include does not have exactly one argument. ([@​issyl0][])
  • #14424: Fix Style/SafeNavigation cop to preserve existing safe navigation in fixed code. ([@​martinemde][])
  • #14455: Follow module inclusion with nonzero args with an empty line. ([@​issyl0][])
  • #14445: Fix false positives for Lint/UselessAssignment with for loops when the variable is referenced in the collection. ([@​earlopain][])
  • #14447: Fix wrong autocorrect for Style/RedundantCondition with a parenthesised method call in the condition. ([@​earlopain][])

Changes

  • #14428: Enhance Lint/SelfAssignment to handle indexed assignment with multiple arguments. ([@​viralpraxis][])
  • #14464: Exclude AutoCorrect and Include from configuration parameters. ([@​r7kamura][])
  • #14472: Make Style/RedundantBegin aware of case pattern matching. ([@​koic][])
  • #14448: Register array intersection size checks as offenses under Style/ArrayIntersect. ([@​lovro-bikic][])
  • #14431: Support LSP TextDocumentSyncKind.Incremental. ([@​tmtm][])
  • #14453: Update Style/RedundantBegin to register begin blocks inside if, unless, case, while and until as redundant. ([@​dvandersluis][])
Commits
  • 732ee29 Cut 1.80
  • 39a158f Update Changelog
  • 2b7e6ad Make Style/RedundantBegin aware of case pattern matching
  • 570889a [Fix #14469] Fix an incorrect autocorrect for Style/BitwisePredicate
  • a39b602 [Fix #14468] Fix false positives for Naming/MethodName
  • ea47b4a Optimize hidden files logic in TargetFinder
  • 7cb7438 Register array intersection size checks as offenses under Style/ArrayIntersect
  • 0bd61aa Use RuboCop::AST::Node#basic_conditional?
  • 6148399 Exclude AutoCorrect and Include from configuration parameters
  • a08b607 [Fix #14453] Update Style/RedundantBegin to register begin blocks inside ...
  • 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.79.2 to 1.80.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.79.2...v1.80.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.80.0
  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 Aug 22, 2025
@github-actions github-actions bot enabled auto-merge August 22, 2025 17:39
@github-actions github-actions bot merged commit db913bd into main Aug 22, 2025
17 checks passed
@github-actions github-actions bot deleted the dependabot/bundler/rubocop-1.80.0 branch August 22, 2025 17:41
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