Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rubocop from 1.73.2 to 1.74.0.

Release notes

Sourced from rubocop's releases.

RuboCop v1.74.0

New features

Bug fixes

  • #13969: Fix a false positive for Lint/SharedMutableDefault when capacity keyword argument is used. (@​koic)
  • #13945: Fix a false positive for Style/DoubleNegation when calling define_method/define_singleton_method with a numblock. (@​earlopain)
  • #13971: Fix false alarm for config obsoletion. (@​koic)
  • #13960: Fix a false negative for Lint/ReturnInVoidContext when returning out of a block. (@​earlopain)
  • #13947: Fix a false negative for Lint/UselessConstantScoping for constants defined in class << self. (@​earlopain)
  • #13949: Fix a false negative for Lint/NonLocalExitFromIterator with numblocks. (@​earlopain)
  • #13975: Fix false positives for Style/RedundantCurrentDirectoryInPath when using a complex current directory path in require_relative. (@​koic)
  • #13963: Fix wrong autocorrect for Lint/LiteralAsCondition when the literal is followed by return, break, or next. (@​earlopain)
  • #13946: Fix some false positives for Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses style and numblocks. (@​earlopain)
  • #13950: Fix sporadic errors about rubocop-rails or rubocop-performance extraction, even if they are already part of the Gemfile. (@​earlopain)
  • #13981: Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. (@​koic)
  • #13965: Update Lint/RedundantCopDisableDirective to register an offense when cop names are given with improper casing. (@​dvandersluis)
  • #13948: Fix wrong autocorrect for Style/RescueModifier when using parallel assignment and the right-hand-side is not a bracketed array. (@​earlopain)

Changes

  • #12851: Add EnforcedStyleForClasses and EnforcedStyleForModules configuration options to Style/ClassAndModuleChildren. (@​dvandersluis)
  • #13979: Add Mode: conservative configuration to Style/FormatStringToken to make the cop only register offenses for strings given to printf, sprintf, format, and %. (@​dvandersluis)
  • #13977: Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber to accommodate OpenSSL version parameter names. (@​koic)
  • #13967: Make Lint/RedundantTypeConversion aware of redundant to_d. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.74.0 (2025-03-13)

New features

Bug fixes

  • #13969: Fix a false positive for Lint/SharedMutableDefault when capacity keyword argument is used. ([@​koic][])
  • #13945: Fix a false positive for Style/DoubleNegation when calling define_method/define_singleton_method with a numblock. ([@​earlopain][])
  • #13971: Fix false alarm for config obsoletion. ([@​koic][])
  • #13960: Fix a false negative for Lint/ReturnInVoidContext when returning out of a block. ([@​earlopain][])
  • #13947: Fix a false negative for Lint/UselessConstantScoping for constants defined in class << self. ([@​earlopain][])
  • #13949: Fix a false negative for Lint/NonLocalExitFromIterator with numblocks. ([@​earlopain][])
  • #13975: Fix false positives for Style/RedundantCurrentDirectoryInPath when using a complex current directory path in require_relative. ([@​koic][])
  • #13963: Fix wrong autocorrect for Lint/LiteralAsCondition when the literal is followed by return, break, or next. ([@​earlopain][])
  • #13946: Fix some false positives for Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses style and numblocks. ([@​earlopain][])
  • #13950: Fix sporadic errors about rubocop-rails or rubocop-performance extraction, even if they are already part of the Gemfile. ([@​earlopain][])
  • #13981: Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. ([@​koic][])
  • #13965: Update Lint/RedundantCopDisableDirective to register an offense when cop names are given with improper casing. ([@​dvandersluis][])
  • #13948: Fix wrong autocorrect for Style/RescueModifier when using parallel assignment and the right-hand-side is not a bracketed array. ([@​earlopain][])

Changes

  • #12851: Add EnforcedStyleForClasses and EnforcedStyleForModules configuration options to Style/ClassAndModuleChildren. ([@​dvandersluis][])
  • #13979: Add Mode: conservative configuration to Style/FormatStringToken to make the cop only register offenses for strings given to printf, sprintf, format, and %. ([@​dvandersluis][])
  • #13977: Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber to accommodate OpenSSL version parameter names. ([@​koic][])
  • #13967: Make Lint/RedundantTypeConversion aware of redundant to_d. ([@​koic][])
Commits
  • ba27193 Cut 1.74
  • 448dc7f Update Changelog
  • e2fc35a Add Mode: conservative configuration to Style/FormatStringToken to make t...
  • a118624 Prevent redundant plugin loading
  • b667815 [Fix #13975] Fix false positives for Style/RedundantCurrentDirectoryInPath
  • f20e4c5 Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber
  • 5a405d5 Update documentation for Style/FormatStringToken for clarity
  • 5695986 Merge pull request #13972 from dvandersluis/issue/13965た
  • 6bd6f89 [Fix #13965] Update Lint/RedundantCopDisableDirective to register an offens...
  • 1776749 [Fix #13969] Fix a false positive for Lint/SharedMutableDefault
  • 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.73.2 to 1.74.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.73.2...v1.74.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  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 Mar 17, 2025
@dependabot dependabot bot requested a review from a team as a code owner March 17, 2025 20:29
@issyl0 issyl0 merged commit ebabc03 into main Mar 24, 2025
8 checks passed
@issyl0 issyl0 deleted the dependabot/bundler/rubocop-1.74.0 branch March 24, 2025 14:25
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.

1 participant