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

Update rubocop requirement from ~> 1.71.0 to ~> 1.74.0 #65

Closed

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on rubocop to permit the latest version.

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][])

1.73.2 (2025-03-04)

Bug fixes

  • #13942: Fix incorrect disabling of departments when inheriting configuration. ([@​koic][])
  • #13766: Fix false positives for Style/InverseMethods when using any? or none? with safe navigation operator. ([@​koic][])
  • #13938: Fix false positives for Style/RedundantCondition when a variable or a constant is used. ([@​koic][])
  • #13935: Fix a false negative for Style/RedundantFreeze when calling methods that produce frozen objects with numblocks. ([@​earlopain][])
  • #13928: Fix end pattern with unmatched parenthesis: / (RegexpError) on Ruby 3.2.0. ([@​dvandersluis][])
  • #13933: Fix wrong autocorrect for Style/KeywordParametersOrder when the arguments are on multiple lines and contain comments. ([@​earlopain][])

Changes

1.73.1 (2025-02-27)

Bug fixes

  • #13920: Fix an error for Lint/MixedCaseRange when /[[ ]]/ is used. ([@​koic][])

... (truncated)

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

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.71.0...v1.74.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 13, 2025

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Copy link

coderabbitai bot commented Mar 13, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 26, 2025

Superseded by #66.

@dependabot dependabot bot closed this Mar 26, 2025
@dependabot dependabot bot deleted the dependabot/bundler/master/rubocop-tw-1.74.0 branch March 26, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants