Commit fc83dd8
authored
Build(deps-dev): Bump rubocop from 1.73.0 to 1.73.2 (#778)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.73.0 to
1.73.2.
<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 v1.73.2</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13942">#13942</a>:
Fix incorrect disabling of departments when inheriting configuration.
(<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>:
Fix false positives for <code>Style/InverseMethods</code> when using
<code>any?</code> or <code>none?</code> with safe navigation operator.
(<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13938">#13938</a>:
Fix false positives for <code>Style/RedundantCondition</code> when a
variable or a constant is used. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13935">#13935</a>:
Fix a false negative for <code>Style/RedundantFreeze</code> when calling
methods that produce frozen objects with numblocks. (<a
href="https://github.com/earlopain"><code>@earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13928">#13928</a>:
Fix <code>end pattern with unmatched parenthesis: / (RegexpError)</code>
on Ruby 3.2.0. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>:
Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when
the arguments are on multiple lines and contain comments. (<a
href="https://github.com/earlopain"><code>@earlopain</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12669">#12669</a>:
Update autocorrection for <code>Lint/EmptyConditionalBody</code> to be
safe. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
</ul>
<h2>RuboCop v1.73.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13920">#13920</a>:
Fix an error for <code>Lint/MixedCaseRange</code> when <code>/[[
]]/</code> is used. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13912">#13912</a>:
Fix wrong autocorrect for <code>Lint/EmptyConditionalBody</code> when
assigning to a variable with only a single branch. (<a
href="https://github.com/earlopain"><code>@earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13913">#13913</a>:
Fix false positives for <code>Style/RedundantCondition</code> when using
when true is used as the true branch and the condition is not a
predicate method. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13909">#13909</a>:
Fix false positive with
<code>Layout/ClosingParenthesisIndentation</code> when first parameter
is a hash. (<a
href="https://github.com/tejasbubane"><code>@tejasbubane</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13915">#13915</a>:
Fix writing generics type of rbs-inline annotation for nested class in
<code>Style/CommentedKeyword</code>. (<a
href="https://github.com/dak2"><code>@dak2</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13916">#13916</a>:
Fix <code>Lint/LiteralAsCondition</code> acting on the right hand side
of && nodes. (<a
href="https://github.com/zopolis4"><code>@zopolis4</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.73.2 (2025-03-04)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13942">#13942</a>:
Fix incorrect disabling of departments when inheriting configuration.
([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>:
Fix false positives for <code>Style/InverseMethods</code> when using
<code>any?</code> or <code>none?</code> with safe navigation operator.
([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13938">#13938</a>:
Fix false positives for <code>Style/RedundantCondition</code> when a
variable or a constant is used. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13935">#13935</a>:
Fix a false negative for <code>Style/RedundantFreeze</code> when calling
methods that produce frozen objects with numblocks. ([<a
href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13928">#13928</a>:
Fix <code>end pattern with unmatched parenthesis: / (RegexpError)</code>
on Ruby 3.2.0. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>:
Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when
the arguments are on multiple lines and contain comments. ([<a
href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12669">#12669</a>:
Update autocorrection for <code>Lint/EmptyConditionalBody</code> to be
safe. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
</ul>
<h2>1.73.1 (2025-02-27)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13920">#13920</a>:
Fix an error for <code>Lint/MixedCaseRange</code> when <code>/[[
]]/</code> is used. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13912">#13912</a>:
Fix wrong autocorrect for <code>Lint/EmptyConditionalBody</code> when
assigning to a variable with only a single branch. ([<a
href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13913">#13913</a>:
Fix false positives for <code>Style/RedundantCondition</code> when using
when true is used as the true branch and the condition is not a
predicate method. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13909">#13909</a>:
Fix false positive with
<code>Layout/ClosingParenthesisIndentation</code> when first parameter
is a hash. ([<a
href="https://github.com/tejasbubane"><code>@tejasbubane</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13915">#13915</a>:
Fix writing generics type of rbs-inline annotation for nested class in
<code>Style/CommentedKeyword</code>. ([<a
href="https://github.com/dak2"><code>@dak2</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13916">#13916</a>:
Fix <code>Lint/LiteralAsCondition</code> acting on the right hand side
of && nodes. ([<a
href="https://github.com/zopolis4"><code>@zopolis4</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rubocop/rubocop/commit/815dccadbbf373075cf3d42f3fb7365502259b15"><code>815dcca</code></a>
Cut 1.73.2</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/398aaabde8da74ec9c2aa22b575f83738f7158c2"><code>398aaab</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/4ae459d28c940abc337fa01598aa386cbdd430a3"><code>4ae459d</code></a>
Fix incorrect disabling of departments when inheriting
configuration</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/ba9d953c13a6cd577ff41ead497c45798f4eb567"><code>ba9d953</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>]
Fix false positives for <code>Style/InverseMethods</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/7e91fd91b9a34d814c853639ce4f2e6e67779f6f"><code>7e91fd9</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>]
Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when
th...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/f6ddcdd3d836c9d6f4a9e12815ac4c29809b6840"><code>f6ddcdd</code></a>
Move common <code>arguments_range</code> to <code>RangeHelp</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/2873bb81d63bbb8e26c6a2c6b713449d29b2569b"><code>2873bb8</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13938">#13938</a>
from koic/fix_false_positive_for_style_redundant_co...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/9884defa7514a2b616e65fbd8f5b9718f5b49ef0"><code>9884def</code></a>
Fix false positives for <code>Style/RedundantCondition</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/323cb71dce89b9700decd508cbd5c2594876d4c2"><code>323cb71</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13937">#13937</a>
from dvandersluis/fix/changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/1cdb3b77b04f54845c8ad47ff9d090a578a69028"><code>1cdb3b7</code></a>
Fix changelog for <a
href="https://redirect.github.com/rubocop/rubocop/issues/13935">#13935</a></li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.73.0...v1.73.2">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-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>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
| 610 | + | |
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| |||
0 commit comments