Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rubocop from 1.65.1 to 1.73.1.

Release notes

Sourced from rubocop's releases.

RuboCop v1.73.1

Bug fixes

  • #13920: Fix an error for Lint/MixedCaseRange when /[[ ]]/ is used. (@​koic)
  • #13912: Fix wrong autocorrect for Lint/EmptyConditionalBody when assigning to a variable with only a single branch. (@​earlopain)
  • #13913: Fix false positives for Style/RedundantCondition when using when true is used as the true branch and the condition is not a predicate method. (@​koic)
  • #13909: Fix false positive with Layout/ClosingParenthesisIndentation when first parameter is a hash. (@​tejasbubane)
  • #13915: Fix writing generics type of rbs-inline annotation for nested class in Style/CommentedKeyword. (@​dak2)
  • #13916: Fix Lint/LiteralAsCondition acting on the right hand side of && nodes. (@​zopolis4)

RuboCop 1.73

New features

Bug fixes

  • #13867: Fix an error for plugins when not running RuboCop through Bundler. (@​earlopain)
  • #13902: Fix false negative for Style/RedundantSelfAssignment when the method receives a block. ([@​vlad-pisanov][])
  • #13826: Fix false positives for regex cops when Lint/MixedCaseRange is enabled. (@​earlopain)
  • #13818: Fix false positives for Lint/Void when using operator method call without argument. (@​koic)
  • #13896: Fix a false positive for Style/TrivialAccessors with instance_eval and numblocks. (@​earlopain)
  • #13910: Fix false positives for Style/EndlessMethod when using setter method definitions. (@​koic)
  • #13889: Fix autocorrection for Layout/LineLength with interpolated strings when not on the first line. ([@​dvandersluis][])
  • #13900: Fix infinite loop between Layout/EmptyLinesAroundAccessModifier and Layout/EmptyLinesAroundBlockBody with EnforcedStyle: no_empty_lines. ([@​dvandersluis][])
  • #12692: Fix Style/AccessorGrouping with constants. (@​tejasbubane)
  • #13882: Fix Style/RedundantFormat for annotated template strings with missing hash keys. ([@​dvandersluis][])
  • #13880: Fix Style/RedundantFormat when given double-splatted arguments. ([@​dvandersluis][])
  • #13907: Don't offer autocorrect for Style/StringConcatenation when numblocks are used. (@​earlopain)
  • #13876: Don't consider require 'pp' to be redundant for Lint/RedundantRequireStatement. (@​earlopain)
  • #13885: Update Style/HashExcept and Style/HashSlice to not register an offense if selecting over the hash value. ([@​dvandersluis][])

Changes

  • #12948: Add ForbiddenNames configuration to Naming/VariableName to specify names that are forbidden. ([@​dvandersluis][])
  • #13117: Add partial autocorrect support to Lint/LiteralAsCondition cop to check for redundant conditions. (@​zopolis4)
  • #13892: Allow merging of configured arrays and non-arrays. ([@​sambostock][])
  • #13833: Add Reference to common params. ([@​sambostock][])
  • #13890: Update Lint/RedundantTypeConversion to not register an offense when given a constructor with exception: false. ([@​dvandersluis][])
  • #13729: Update Style/RedundantCondition cop to detect conditional expressions where the true branch is true and suggest replacing them with a logical OR. ([@​datpmt][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.73.1 (2025-02-27)

Bug fixes

  • #13920: Fix an error for Lint/MixedCaseRange when /[[ ]]/ is used. ([@​koic][])
  • #13912: Fix wrong autocorrect for Lint/EmptyConditionalBody when assigning to a variable with only a single branch. ([@​earlopain][])
  • #13913: Fix false positives for Style/RedundantCondition when using when true is used as the true branch and the condition is not a predicate method. ([@​koic][])
  • #13909: Fix false positive with Layout/ClosingParenthesisIndentation when first parameter is a hash. ([@​tejasbubane][])
  • #13915: Fix writing generics type of rbs-inline annotation for nested class in Style/CommentedKeyword. ([@​dak2][])
  • #13916: Fix Lint/LiteralAsCondition acting on the right hand side of && nodes. ([@​zopolis4][])

1.73.0 (2025-02-26)

New features

Bug fixes

  • #13867: Fix an error for plugins when not running RuboCop through Bundler. ([@​earlopain][])
  • #13902: Fix false negative for Style/RedundantSelfAssignment when the method receives a block. ([@​vlad-pisanov][])
  • #13826: Fix false positives for regex cops when Lint/MixedCaseRange is enabled. ([@​earlopain][])
  • #13818: Fix false positives for Lint/Void when using operator method call without argument. ([@​koic][])
  • #13896: Fix a false positive for Style/TrivialAccessors with instance_eval and numblocks. ([@​earlopain][])
  • #13910: Fix false positives for Style/EndlessMethod when using setter method definitions. ([@​koic][])
  • #13889: Fix autocorrection for Layout/LineLength with interpolated strings when not on the first line. ([@​dvandersluis][])
  • #13900: Fix infinite loop between Layout/EmptyLinesAroundAccessModifier and Layout/EmptyLinesAroundBlockBody with EnforcedStyle: no_empty_lines. ([@​dvandersluis][])
  • #12692: Fix Style/AccessorGrouping with constants. ([@​tejasbubane][])
  • #13882: Fix Style/RedundantFormat for annotated template strings with missing hash keys. ([@​dvandersluis][])
  • #13880: Fix Style/RedundantFormat when given double-splatted arguments. ([@​dvandersluis][])
  • #13907: Don't offer autocorrect for Style/StringConcatenation when numblocks are used. ([@​earlopain][])
  • #13876: Don't consider require 'pp' to be redundant for Lint/RedundantRequireStatement. ([@​earlopain][])
  • #13885: Update Style/HashExcept and Style/HashSlice to not register an offense if selecting over the hash value. ([@​dvandersluis][])

Changes

  • #12948: Add ForbiddenNames configuration to Naming/VariableName to specify names that are forbidden. ([@​dvandersluis][])
  • #13117: Add partial autocorrect support to Lint/LiteralAsCondition cop to check for redundant conditions. ([@​zopolis4][])
  • #13892: Allow merging of configured arrays and non-arrays. ([@​sambostock][])
  • #13833: Add Reference to common params. ([@​sambostock][])
  • #13890: Update Lint/RedundantTypeConversion to not register an offense when given a constructor with exception: false. ([@​dvandersluis][])
  • #13729: Update Style/RedundantCondition cop to detect conditional expressions where the true branch is true and suggest replacing them with a logical OR. ([@​datpmt][])

1.72.2 (2025-02-17)

Bug fixes

  • #13853: Fix exclusion of relative paths in plugin's AllCops: Exclude as expected. ([@​koic][])

... (truncated)

Commits
  • 75737ee Cut 1.73.1
  • 9909e5e Update Changelog
  • ec25088 [Fix #13916] Stop Lint/LiteralAsCondition from acting on the rhs of && statem...
  • 1ec4ca5 [Fix #13920] Fix an error for Lint/MixedCaseRange
  • a15904c Add default labels to our issue templates
  • 53e5d19 [Fix #13913] Fix false positives for Style/RedundantCondition
  • bdcad3b Merge pull request #13915 from dak2/rbs-inline/generics-type-in-commented-key...
  • 0e33424 Fix writing generics type of rbs-inline annotation for nested class in `Style...
  • 883cd56 Merge pull request #13914 from tejasbubane/fix-13909
  • 6fa9c37 [Fix #13909] Fix false positive with Layout/ClosingParenthesisIndentation w...
  • 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.65.1 to 1.73.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.65.1...v1.73.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 27, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 5, 2025

Superseded by #136.

@dependabot dependabot bot closed this Mar 5, 2025
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.73.1 branch March 5, 2025 13:53
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