Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

build(deps): bump rubocop from 1.71.2 to 1.72.1 #356

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rubocop from 1.71.2 to 1.72.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.72.1

Bug fixes

  • #13836: Fix an error for Style/RedundantParentheses when a different expression appears before a range literal. (@​koic)
  • #13839: Fix false positives for Lint/RedundantTypeConversion when passing block arguments when generating a Hash or a Set. (@​koic)

Changes

  • #13839: Extension plugin is loaded automatically with require 'rubocop/rspec/support'. (@​koic)

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)
Changelog

Sourced from rubocop's changelog.

1.72.1 (2025-02-15)

Bug fixes

  • #13836: Fix an error for Style/RedundantParentheses when a different expression appears before a range literal. ([@​koic][])
  • #13839: Fix false positives for Lint/RedundantTypeConversion when passing block arguments when generating a Hash or a Set. ([@​koic][])

Changes

  • #13839: Extension plugin is loaded automatically with `require 'rubocop/rspec/support'. ([@​koic][])

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][])
Commits
  • 557a7b8 Cut 1.72.1
  • 8fa0155 Update Changelog
  • 224c259 Make plugin load error messages more user-friendly
  • 272303d [Fix #13839] Fix false positives for Lint/RedundantTypeConversion
  • 8acafc7 Extension plugin is loaded automatically with require 'rubocop/rspec/support'
  • 1667898 [Fix #13836] Fix an error for Style/RedundantParentheses
  • f37f6d5 Reset docs version
  • 96989aa Cut 1.72
  • 60cf2b7 Update Changelog
  • ebc89df Allow RuboCop::ConfigLoader.inject_defaults! to accept Pathname instances
  • 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.71.2 to 1.72.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.71.2...v1.72.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  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 Feb 17, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 18, 2025

Superseded by #359.

@dependabot dependabot bot closed this Feb 18, 2025
auto-merge was automatically disabled February 18, 2025 01:25

Pull request was closed

@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.72.1 branch February 18, 2025 01:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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