-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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-performance from 1.23.1 to 1.24.0 in /Library/Homebrew #19329
base: master
Are you sure you want to change the base?
build(deps-dev): bump rubocop-performance from 1.23.1 to 1.24.0 in /Library/Homebrew #19329
Conversation
322f27c
to
16e0269
Compare
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.23.1 to 1.24.0. - [Release notes](https://github.com/rubocop/rubocop-performance/releases) - [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop-performance@v1.23.1...v1.24.0) --- updated-dependencies: - dependency-name: rubocop-performance dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
b62cba6
to
e098307
Compare
Library/Homebrew/aliases/alias.rb
Outdated
@@ -18,7 +18,10 @@ def initialize(name, command = nil) | |||
@symlink = T.let(nil, T.nilable(Pathname)) | |||
|
|||
@command = if command&.start_with?("!", "%") | |||
# `drop` is not defined on `String` | |||
# rubocop:disable Performance/ArraySemiInfiniteRangeSlice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't supposed to be enabled. Upstream actually states:
This cop was created due to a mistake in microbenchmark and hence is disabled by default
Given the large amount of fixes in this PR in a version bump that is supposed to only have one extra cop, it seems like something's very broken here and cop violations here should not be trusted until we get that fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good catch. I think the default config is only loaded when the cop is a plugin: rubocop/rubocop-performance@v1.23.1...v1.24.0#diff-5a022e7952dfb32fcbdce1db566fce92f11071753c6ce2b60c09f5a0edf8b6fc
Unfortunately, I'm not able to follow the plugin migration suggested by the docs due to: rubocop/rubocop-rspec#2048 (comment)
Library/Homebrew/warnings.rb
Outdated
return unless block_given? | ||
return unless block |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This cop produces code with significantly worse performance when a block is being passed to the method and as such should not be enabled.
e098307
to
e26f6ea
Compare
Bumps rubocop-performance from 1.23.1 to 1.24.0.
Release notes
Sourced from rubocop-performance's releases.
Changelog
Sourced from rubocop-performance's changelog.
Commits
24a3a4e
Cut 1.24.020c07a2
Update Changelogf6e7da0
Merge pull request #490 from koic/pluginfy_with_lint_rollerb83339d
Pluginfy RuboCop Performanceab7ef16
Suppress redundant configuration logging for rubocop-performace2c00726
Avoid unnecessarysend
074bd2a
Explicit defaultPerformance/Sum
cop config for the spec349ae04
Suppress RuboCop's offenses2d36cac
Merge pull request #462 from corsonknowles/add_performance_use_zip_to_wrap_ar...063b56d
Merge pull request #489 from dvandersluis/use-node-groupsDependabot 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)