Commit f328f90
Merge #603
603: Update rubocop requirement from ~> 1.69.0 to ~> 1.71.1 r=curquiza a=dependabot[bot]
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p>
<blockquote>
<h2>RuboCop 1.71.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/10081">#10081</a>: Add the missing <code>include RuboCop::RSpec::ExpectOffense</code> in rubocop/rspec/support.rb. (<a href="https://github.com/d4rky-pl"><code>`@d4rky-pl</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13765">#13765</a>: Fix a false negative for <code>Lint/AmbiguousBlockAssociation</code> with numblocks. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13759">#13759</a>: Fix a false negative for <code>Lint/ConstantDefinitionInBlock</code> with numblocks. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13741">#13741</a>: Register an offense for <code>Naming/BlockForwarding</code> and <code>Style/ArgumentsForwarding</code> with Ruby >= 3.4 when the block argument is referenced inside a block. This was previously disabled because of a bug in Ruby 3.3.0. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13777">#13777</a>: Fix a false negative for <code>Layout/EmptyLineBetweenDefs</code> with <code>DefLikeMacros</code> and numblocks. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13769">#13769</a>: Fix a false negative for <code>Style/RedundantParentheses</code> with numblocks. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13780">#13780</a>: Fix a false positive <code>Style/AccessModifierDeclarations</code> when using access modifier in a numblock. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13775">#13775</a>: Fix a false positive for <code>Lint/AssignmentInCondition</code> when assigning in numblocks. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13773">#13773</a>: Fix false positives for <code>Layout/RedundantLineBreak</code> when using numbered block parameter. (<a href="https://github.com/koic"><code>`@koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13761">#13761</a>: Fix a false positive for <code>Style/SuperArguments</code> when calling super in a numblock. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13768">#13768</a>: Fix a false positive for <code>Lint/UnreachableCode</code> with <code>instance_eval</code> numblock. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13750">#13750</a>: Fix false positives for <code>Style/RedundantSelfAssignment</code> when assigning to attribute of <code>self</code>. (<a href="https://github.com/koic"><code>`@koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13739">#13739</a>: Fix false positive for <code>Style/HashExcept</code> and <code>Style/HashSlice</code> when checking for inclusion with a range. (<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13751">#13751</a>: Fix false positive in <code>Layout/ExtraSpacing</code> with <code>ForceEqualSignAlignment: true</code> for endless methods. (<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13767">#13767</a>: Fix <code>Style/IdenticalConditionalBranches</code> autocorrect when condition is inside assignment. (<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13764">#13764</a>: Fix a false negative for <code>Layout/SingleLineBlockChain</code> with numblocks. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13771">#13771</a>: Fix wrong autocorrect for <code>Style/SoleNestedConditional</code> when using numblocks. (<a href="https://github.com/earlopain"><code>`@earlopain</code></a>)</li>`
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p>
<blockquote>
<h2>1.71.1 (2025-01-31)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/10081">#10081</a>: Add the missing <code>include RuboCop::RSpec::ExpectOffense</code> in rubocop/rspec/support.rb. ([<a href="https://github.com/d4rky-pl"><code>`@d4rky-pl</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13765">#13765</a>: Fix a false negative for <code>Lint/AmbiguousBlockAssociation</code> with numblocks. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13759">#13759</a>: Fix a false negative for <code>Lint/ConstantDefinitionInBlock</code> with numblocks. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13741">#13741</a>: Register an offense for <code>Naming/BlockForwarding</code> and <code>Style/ArgumentsForwarding</code> with Ruby >= 3.4 when the block argument is referenced inside a block. This was previously disabled because of a bug in Ruby 3.3.0. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13777">#13777</a>: Fix a false negative for <code>Layout/EmptyLineBetweenDefs</code> with <code>DefLikeMacros</code> and numblocks. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13769">#13769</a>: Fix a false negative for <code>Style/RedundantParentheses</code> with numblocks. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13780">#13780</a>: Fix a false positive <code>Style/AccessModifierDeclarations</code> when using access modifier in a numblock. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13775">#13775</a>: Fix a false positive for <code>Lint/AssignmentInCondition</code> when assigning in numblocks. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13773">#13773</a>: Fix false positives for <code>Layout/RedundantLineBreak</code> when using numbered block parameter. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13761">#13761</a>: Fix a false positive for <code>Style/SuperArguments</code> when calling super in a numblock. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13768">#13768</a>: Fix a false positive for <code>Lint/UnreachableCode</code> with <code>instance_eval</code> numblock. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13750">#13750</a>: Fix false positives for <code>Style/RedundantSelfAssignment</code> when assigning to attribute of <code>self</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13739">#13739</a>: Fix false positive for <code>Style/HashExcept</code> and <code>Style/HashSlice</code> when checking for inclusion with a range. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13751">#13751</a>: Fix false positive in <code>Layout/ExtraSpacing</code> with <code>ForceEqualSignAlignment: true</code> for endless methods. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13767">#13767</a>: Fix <code>Style/IdenticalConditionalBranches</code> autocorrect when condition is inside assignment. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13764">#13764</a>: Fix a false negative for <code>Layout/SingleLineBlockChain</code> with numblocks. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13771">#13771</a>: Fix wrong autocorrect for <code>Style/SoleNestedConditional</code> when using numblocks. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
</ul>
<h2>1.71.0 (2025-01-22)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13735">#13735</a>: Add new <code>Lint/ArrayLiteralInRegexp</code> cop. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13507">#13507</a>: Add new <code>Style/HashSlice</code> cop. ([<a href="https://github.com/lovro-bikic"><code>`@lovro-bikic</code></a>][])</li>`
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13684">#13684</a>: Fix a false positive for <code>Style/FrozenStringLiteralComment</code> when using the frozen string literal magic comment in Active Admin's arb files. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13372">#13372</a>: Add <code>rubocop_cache</code> to the path given by <code>--cache-root</code> when pruning cache. ([<a href="https://github.com/capncavedan"><code>`@capncavedan</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13257">#13257</a>: Fix department disable/enable comments enabling the cop for the whole file even if that file is excluded by the cop. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13704">#13704</a>: Fix false positives for <code>Lint/OutOfRangeRegexpRef</code> when matching with <code>match</code> using safe navigation. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13720">#13720</a>: Fix false positives for <code>Style/BlockDelimiters</code> when using brace blocks as conditions under <code>EnforcedStyle: semantic</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13688">#13688</a>: Fix false negative on <code>Style/RedundantLineContinuation</code> when the continuation is preceded by an interpolated string. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13677">#13677</a>: Fix false negative on <code>Style/RedundantLineContinuation</code> when the continuation is followed by a percent array. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13692">#13692</a>: Fix false positive in <code>Style/RedundantLineContinuation</code> when the ruby code ends with a commented continuation. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13675">#13675</a>: Fix invalid autocorrect for <code>Style/ArrayFirstLast</code> when calling <code>.[]</code> or <code>&.[]</code> with 0 or -1. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13685">#13685</a>: Fix syntax error introduced by <code>Lint/SafeNavigationChain</code> when adding safe navigation to an operator call inside a hash. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13725">#13725</a>: Fix an incorrect autocorrect for <code>Style/IfUnlessModifier</code> when using omitted hash values in an assignment. ([<a href="https://github.com/elliottt"><code>`@elliottt</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13667">#13667</a>: Maintain precedence in autocorrect for <code>Style/SoleNestedConditional</code>. ([<a href="https://github.com/tejasbubane"><code>`@tejasbubane</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13679">#13679</a>: Fix false positive for <code>Style/RedundantLineContinuation</code> when calling methods with fully qualified constants. ([<a href="https://github.com/earlopain"><code>`@earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13728">#13728</a>: Fix a RuboCop error on provided glob pattern which matches directory. ([<a href="https://github.com/viralpraxis"><code>`@viralpraxis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13693">#13693</a>: Fix <code>Style/ConditionalAssignment</code> cop error on <code>unless</code> without <code>else</code> and <code>assign_inside_condition</code> enforced style. ([<a href="https://github.com/viralpraxis"><code>`@viralpraxis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13669">#13669</a>: Fix <code>Style/FrozenStringLiteralComment</code> cop error on unnormalized magic comment and <code>never</code> enforced style. ([<a href="https://github.com/viralpraxis"><code>`@viralpraxis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13696">#13696</a>: Update <code>Metrics/CollectionLiteralLength</code> to only register for <code>[]</code> when called on <code>Set</code>. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
</ul>
<h3>Changes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop/commit/2b94512bd1cb7f9cecf1a44a23f47fbba57665d4"><code>2b94512</code></a> Cut 1.71.1</li>
<li><a href="https://github.com/rubocop/rubocop/commit/6afa0787ecc69067bd6dc081ed780fb49258ac12"><code>6afa078</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/51603594bafbab587f11953acd272bd46a30907c"><code>5160359</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13750">#13750</a>] Fix false positives for <code>Style/RedundantSelfAssignment</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/3dc1694b3a4ebb03593b516f56fec55e37614cf6"><code>3dc1694</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13751">#13751</a>] Fix false positive in <code>Layout/ExtraSpacing</code> with `ForceEqualSign...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/cce60daf41757a3db2dd9adf9a902a2561eaa9de"><code>cce60da</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13780">#13780</a> from Earlopain/access-mod-numblock</li>
<li><a href="https://github.com/rubocop/rubocop/commit/2a4ee1a495a524a005304ea05ca69563cce52474"><code>2a4ee1a</code></a> Fix a false positive <code>Style/AccessModifierDeclarations</code> when using access mod...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/b275d5a2a1d56facb4f1b9596a34105d11145fdb"><code>b275d5a</code></a> Fix <code>InternalAffairs/NodeTypeMultiplePredicates</code> offenses</li>
<li><a href="https://github.com/rubocop/rubocop/commit/750fc1b5a1a433b19deb4b9772832104bc3b91f2"><code>750fc1b</code></a> Add <code>InternalAffairs/NodeTypeMultiplePredicates</code> to look for <code>and</code> or <code>or</code> co...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/bb4b87d50f4fc84c42c2c91e26daa5e43114f818"><code>bb4b87d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13778">#13778</a> from dvandersluis/remove-host-environment-simulatio...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/b1a17c95230d5bc357e68d36740ce855bbbfda27"><code>b1a17c9</code></a> Remove <code>HostEnvironmentSimulatorHelper</code></li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.69.0...v1.71.1">compare view</a></li>
</ul>
</details>
<br />
You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
0 commit comments