Skip to content
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

Build(deps-dev): Bump rubocop from 1.71.1 to 1.72.0 in the rubocop group across 1 directory #612

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 15, 2025

Bumps the rubocop group with 1 update in the / directory: rubocop.

Updates rubocop from 1.71.1 to 1.72.0

Release notes

Sourced from rubocop's releases.

RuboCop 1.72

New features

  • #13740: Add new Lint/CopDirectiveSyntax cop. (@​kyanagi)
  • #13800: Add new Lint/SuppressedExceptionInNumberConversion cop. (@​koic)
  • #13702: Add new Lint/RedundantTypeConversion cop. (@​dvandersluis)
  • #13831: Add new Lint/UselessConstantScoping cop. (@​koic)
  • #13793: Add new Style/RedundantFormat cop to check for uses of format or sprintf with only a single string argument. (@​dvandersluis)
  • #13581: Add new InternalAffairs/LocationExists cop to check for code that can be replaced with Node#loc? or Node#loc_is?. (@​dvandersluis)
  • #13661: Make server mode detect local paths in .rubocop.yml under inherit_from and require for automatically restart. (@​koic)
  • #13721: Naming/PredicateName: Optionally use Sorbet to detect predicate methods. (@​issyl0)
  • #6012: Support RuboCop extension plugin. (@​koic)

Bug fixes

  • #13807: Fix false negatives for Style/RedundantParentheses when chaining [] method calls. (@​koic)
  • #13788: Fix false negatives for Style/RedundantParentheses when [] method is called with variable or constant receivers. (@​koic)
  • #13811: Fix false negatives for Style/RedundantParentheses when handling range literals with redundant parentheses. (@​koic)
  • #13796: Fix crash in Layout/EmptyLinesAroundMethodBody for endless methods. (@​dvandersluis)
  • #13817: Fix false positive for format specifier with non-numeric precision. (@​dvandersluis)
  • #12672: Fix false positives for Lint/FormatParameterMismatch when the width value is interpolated. (@​dvandersluis)
  • #12795: Fix Layout/BlockAlignment for blocks that are the body of an endless method. (@​dvandersluis)
  • #13822: Fix undefined method Logger when processing watched file notifications. (@​vinistock)
  • #13805: Make the language_server-protocol dependency version stricter. (@​koic)

RuboCop 1.71.2

Bug fixes

  • #13782: Fix an error Layout/ElseAlignment when else is part of a numblock. (@​earlopain)
  • #13395: Fix a false positive for Lint/UselessAssignment when assigning in branch and block. (@​pCosta99)
  • #13783: Fix a false positive for Lint/Void when each numblock with conditional expressions that has multiple statements. (@​earlopain)
  • #13787: Fix incorrect autocorrect for Style/ExplicitBlockArgument when using arguments of zsuper in method definition. (@​koic)
  • #13785: Fix Style/EachWithObject cop error in case of single block argument. (@​viralpraxis)
  • #13781: Fix a false positive for Lint/UnmodifiedReduceAccumulator when omitting the accumulator in a nested numblock. (@​earlopain)
Changelog

Sourced from rubocop's changelog.

1.72.0 (2025-02-14)

New features

  • #13740: Add new Lint/CopDirectiveSyntax cop. ([@​kyanagi][])
  • #13800: Add new Lint/SuppressedExceptionInNumberConversion cop. ([@​koic][])
  • #13702: Add new Lint/RedundantTypeConversion cop. ([@​dvandersluis][])
  • #13831: Add new Lint/UselessConstantScoping cop. ([@​koic][])
  • #13793: Add new Style/RedundantFormat cop to check for uses of format or sprintf with only a single string argument. ([@​dvandersluis][])
  • #13581: Add new InternalAffairs/LocationExists cop to check for code that can be replaced with Node#loc? or Node#loc_is?. ([@​dvandersluis][])
  • #13661: Make server mode detect local paths in .rubocop.yml under inherit_from and require for automatically restart. ([@​koic][])
  • #13721: Naming/PredicateName: Optionally use Sorbet to detect predicate methods. ([@​issyl0][])
  • #6012: Support RuboCop extension plugin. ([@​koic][])

Bug fixes

  • #13807: Fix false negatives for Style/RedundantParentheses when chaining [] method calls. ([@​koic][])
  • #13788: Fix false negatives for Style/RedundantParentheses when [] method is called with variable or constant receivers. ([@​koic][])
  • #13811: Fix false negatives for Style/RedundantParentheses when handling range literals with redundant parentheses. ([@​koic][])
  • #13796: Fix crash in Layout/EmptyLinesAroundMethodBody for endless methods. ([@​dvandersluis][])
  • #13817: Fix false positive for format specifier with non-numeric precision. ([@​dvandersluis][])
  • #12672: Fix false positives for Lint/FormatParameterMismatch when the width value is interpolated. ([@​dvandersluis][])
  • #12795: Fix Layout/BlockAlignment for blocks that are the body of an endless method. ([@​dvandersluis][])
  • #13822: Fix undefined method Logger when processing watched file notifications. ([@​vinistock][])
  • #13805: Make the language_server-protocol dependency version stricter. ([@​koic][])

1.71.2 (2025-02-04)

Bug fixes

  • #13782: Fix an error Layout/ElseAlignment when else is part of a numblock. ([@​earlopain][])
  • #13395: Fix a false positive for Lint/UselessAssignment when assigning in branch and block. ([@​pCosta99][])
  • #13783: Fix a false positive for Lint/Void when each numblock with conditional expressions that has multiple statements. ([@​earlopain][])
  • #13787: Fix incorrect autocorrect for Style/ExplicitBlockArgument when using arguments of zsuper in method definition. ([@​koic][])
  • #13785: Fix Style/EachWithObject cop error in case of single block argument. ([@​viralpraxis][])
  • #13781: Fix a false positive for Lint/UnmodifiedReduceAccumulator when omitting the accumulator in a nested numblock. ([@​earlopain][])
Commits
  • 96989aa Cut 1.72
  • 60cf2b7 Update Changelog
  • ebc89df Allow RuboCop::ConfigLoader.inject_defaults! to accept Pathname instances
  • d9e02cc Add new Lint/UselessConstantScoping cop
  • b6ad85b Merge pull request #13829 from dvandersluis/redundant-format-literals
  • 2e8bf3d Update Style/RedundantFormat to register an offense for format arguments ...
  • 02656b7 Merge pull request #13824 from koic/fix_incorrect_plugin_exception_name
  • b8f505f Merge pull request #13822 from Shopify/vs-fix-undefined-method-logger
  • 5598046 Fix undefined method Logger when processing watched file notifications
  • 9434cff Fix incorrect plugin exception name
  • 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the rubocop group with 1 update in the / directory: [rubocop](https://github.com/rubocop/rubocop).


Updates `rubocop` from 1.71.1 to 1.72.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.71.1...v1.72.0)

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

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 Feb 15, 2025
@dependabot dependabot bot requested a review from kg8m February 15, 2025 01:46
@kg8m-bot kg8m-bot bot added the dev-dependencies Pull requests that update a dev-dependency file label Feb 15, 2025
@kg8m-bot kg8m-bot bot merged commit 716d4f7 into main Feb 15, 2025
67 checks passed
@kg8m-bot kg8m-bot bot deleted the dependabot/bundler/rubocop-a84eb3c9ca branch February 15, 2025 01:49
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 dev-dependencies Pull requests that update a dev-dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants