Bumps the rubocop group with 1 update: [rubocop](https://github.com/rubocop/rubocop).
Updates `rubocop` from 1.81.7 to 1.82.0 <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.82.0</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14655">#14655</a>: Add <code>AllowRBSInlineAnnotation</code> option to <code>Layout/LineLength</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14569">#14569</a>: Add <code>IncludedMacroPatterns</code> configuration option to <code>Style/MethodCallWithArgsParentheses</code> for pattern-based macro method enforcement. (<a href="https://github.com/mmenanno"><code>@mmenanno</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14670">#14670</a>: Add new cop <code>Style/ModuleMemberExistenceCheck</code>. (<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14644">#14644</a>: Support <code>TargetRubyVersion 4.0</code> (experimental). (<a href="https://github.com/koic"><code>@koic</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14649">#14649</a>: Fix an error for <code>Lint/LiteralAsCondition</code> when there are literals in multiple branches. (<a href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14678">#14678</a>: Fix an error when running deprecated <code>rake rubocop:auto_correct</code> task. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14650">#14650</a>: Fix wrong autocorrect for <code>Lint/RedundantSplatExpansion</code> when splatting a single literal. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14703">#14703</a>: Fix false negatives for <code>Layout/RescueEnsureAlignment</code> when using self class definition. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14706">#14706</a>: Fix false negatives for <code>Lint/NoReturnInBeginEndBlocks</code> when assigning instance variable, class variable, global variable, or constant. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14715">#14715</a>: Fix false positives for <code>Layout/EmptyLineAfterGuardClause</code> when a guard clause follows a multiline heredoc in a parenthesized method call. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14667">#14667</a>: Fix false positives for <code>Layout/EndAlignment</code> when a conditional assignment is used on the same line and the <code>end</code> with a safe navigation method call is aligned. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14688">#14688</a>: Fix false positives for <code>Layout/EndAlignment</code> when a conditional assignment is used on the same line and the <code>end</code> with a numbered block or <code>it</code> block method call is aligned. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14699">#14699</a>: Fix false positives for <code>Lint/RedundantSafeNavigation</code> when the receiver is used outside the singleton method definition scope. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14663">#14663</a>: Fix false positives for <code>Style/EndlessMethod</code> when multiline or xstring heredoc is used in method body. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/10173">#10173</a>: Fix false positives for <code>Style/TrailingCommaInArguments</code> when <code>EnforcedStyleForMultiline</code> is set to <code>consistent_comma</code> and a multiline braced hash argument appears after another argument. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14680">#14680</a>: Handle all <code>OptionParser</code> errors when running <code>rubocop</code> with input that causes an error. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14658">#14658</a>: Fix incorrect behavior when <code>Layout/LineLength</code> is disabled. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14704">#14704</a>: Fix incorrect Position character value in LSP. (<a href="https://github.com/tmtm"><code>@tmtm</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14619">#14619</a>: Store remote configuration caches in cache root. ([<a href="https://github.com/Jack12816"><code>@Jack12816</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14476">#14476</a>: Fix <code>Style/ClassAndModuleChildren</code> to skip compact style definitions inside another class or module when <code>EnforcedStyle: nested</code>. ([<a href="https://github.com/rscq"><code>@rscq</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14281">#14281</a>: Update <code>Layout/EndAlignment</code> with <code>EnforcedStyleAlignWith: variable</code> to handle conditionals inside <code>begin</code> nodes properly. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14662">#14662</a>: Add autocorrection for <code>Lint/UselessOr</code>. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14668">#14668</a>: Exclude <code>Severity</code> from configuration parameters. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14684">#14684</a>: Make <code>Style/CaseEquality</code> allow regexp case equality where the receiver is a regexp literal. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14645">#14645</a>: Change <code>Lint/CircularArgumentReference</code> to detect offenses within long assignment chains. (<a href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14642">#14642</a>: Make <code>Gemspec/RubyVersionGlobalsUsage</code> aware of <code>Ruby::VERSION</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14695">#14695</a>: Make <code>Layout/EmptyLineAfterMagicComment</code> aware of <code># rbs_inline</code> magic comment. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/10147">#10147</a>: Make <code>Lint/ElseLayout</code> allow a single-line <code>else</code> body in <code>then</code> single-line conditional. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14661">#14661</a>: Make <code>Lint/RedundantRequireStatement</code> aware of <code>pathname</code> when analyzing Ruby 4.0. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14698">#14698</a>: Make <code>Lint/UnreachableCode</code> aware of singleton method redefinition. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14677">#14677</a>: Make <code>Style/RedundantArgument</code> aware of <code>to_i</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14660">#14660</a>: Rename <code>IgnoreCopDirectives</code> to <code>AllowCopDirectives</code> in <code>Layout/LineLength</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14492">#14492</a>: Revert <a href="https://redirect.github.com/rubocop/rubocop/issues/14492">#14492</a>, which added support for LSP positionEncoding 'utf-8' and 'utf-32' due to critical performance regression reports. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.82.0 (2025-12-17)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14655">#14655</a>: Add <code>AllowRBSInlineAnnotation</code> option to <code>Layout/LineLength</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14569">#14569</a>: Add <code>IncludedMacroPatterns</code> configuration option to <code>Style/MethodCallWithArgsParentheses</code> for pattern-based macro method enforcement. ([<a href="https://github.com/mmenanno"><code>@mmenanno</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14670">#14670</a>: Add new cop <code>Style/ModuleMemberExistenceCheck</code>. ([<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14644">#14644</a>: Support <code>TargetRubyVersion 4.0</code> (experimental). ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14649">#14649</a>: Fix an error for <code>Lint/LiteralAsCondition</code> when there are literals in multiple branches. ([<a href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14678">#14678</a>: Fix an error when running deprecated <code>rake rubocop:auto_correct</code> task. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14650">#14650</a>: Fix wrong autocorrect for <code>Lint/RedundantSplatExpansion</code> when splatting a single literal. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14703">#14703</a>: Fix false negatives for <code>Layout/RescueEnsureAlignment</code> when using self class definition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14706">#14706</a>: Fix false negatives for <code>Lint/NoReturnInBeginEndBlocks</code> when assigning instance variable, class variable, global variable, or constant. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14715">#14715</a>: Fix false positives for <code>Layout/EmptyLineAfterGuardClause</code> when a guard clause follows a multiline heredoc in a parenthesized method call. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14667">#14667</a>: Fix false positives for <code>Layout/EndAlignment</code> when a conditional assignment is used on the same line and the <code>end</code> with a safe navigation method call is aligned. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14688">#14688</a>: Fix false positives for <code>Layout/EndAlignment</code> when a conditional assignment is used on the same line and the <code>end</code> with a numbered block or <code>it</code> block method call is aligned. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14699">#14699</a>: Fix false positives for <code>Lint/RedundantSafeNavigation</code> when the receiver is used outside the singleton method definition scope. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14663">#14663</a>: Fix false positives for <code>Style/EndlessMethod</code> when multiline or xstring heredoc is used in method body. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/10173">#10173</a>: Fix false positives for <code>Style/TrailingCommaInArguments</code> when <code>EnforcedStyleForMultiline</code> is set to <code>consistent_comma</code> and a multiline braced hash argument appears after another argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14680">#14680</a>: Handle all <code>OptionParser</code> errors when running <code>rubocop</code> with input that causes an error. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14658">#14658</a>: Fix incorrect behavior when <code>Layout/LineLength</code> is disabled. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14704">#14704</a>: Fix incorrect Position character value in LSP. ([<a href="https://github.com/tmtm"><code>@tmtm</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14619">#14619</a>: Store remote configuration caches in cache root. ([<a href="https://github.com/Jack12816"><code>@Jack12816</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14476">#14476</a>: Fix <code>Style/ClassAndModuleChildren</code> to skip compact style definitions inside another class or module when <code>EnforcedStyle: nested</code>. ([<a href="https://github.com/rscq"><code>@rscq</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14281">#14281</a>: Update <code>Layout/EndAlignment</code> with <code>EnforcedStyleAlignWith: variable</code> to handle conditionals inside <code>begin</code> nodes properly. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14662">#14662</a>: Add autocorrection for <code>Lint/UselessOr</code>. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14668">#14668</a>: Exclude <code>Severity</code> from configuration parameters. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14684">#14684</a>: Make <code>Style/CaseEquality</code> allow regexp case equality where the receiver is a regexp literal. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14645">#14645</a>: Change <code>Lint/CircularArgumentReference</code> to detect offenses within long assignment chains. ([<a href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14642">#14642</a>: Make <code>Gemspec/RubyVersionGlobalsUsage</code> aware of <code>Ruby::VERSION</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14695">#14695</a>: Make <code>Layout/EmptyLineAfterMagicComment</code> aware of <code># rbs_inline</code> magic comment. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/10147">#10147</a>: Make <code>Lint/ElseLayout</code> allow a single-line <code>else</code> body in <code>then</code> single-line conditional. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14661">#14661</a>: Make <code>Lint/RedundantRequireStatement</code> aware of <code>pathname</code> when analyzing Ruby 4.0. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14698">#14698</a>: Make <code>Lint/UnreachableCode</code> aware of singleton method redefinition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14677">#14677</a>: Make <code>Style/RedundantArgument</code> aware of <code>to_i</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14660">#14660</a>: Rename <code>IgnoreCopDirectives</code> to <code>AllowCopDirectives</code> in <code>Layout/LineLength</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14492">#14492</a>: Revert <a href="https://redirect.github.com/rubocop/rubocop/issues/14492">#14492</a>, which added support for LSP positionEncoding 'utf-8' and 'utf-32' due to critical performance regression reports. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/384aa2b4ed79bad806e0f884e1039dab56d3cfbf"><code>384aa2b</code></a> Cut 1.82</li> <li><a href="https://github.com/rubocop/rubocop/commit/f8a84fa41beb247504ffc2c78dd1b49f1480a7db"><code>f8a84fa</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/f8b40bc5f4a7998276fe6ff650d9cf55d8dfbb7d"><code>f8b40bc</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13854">#13854</a> (Old issue)] add push/pop logic for handle local enable/disable</li> <li><a href="https://github.com/rubocop/rubocop/commit/70f76b1ea0ae0eed8c8014f68f8667b7bd00349c"><code>70f76b1</code></a> Add new cop Style/ModuleMemberExistenceCheck</li> <li><a href="https://github.com/rubocop/rubocop/commit/acbdbda132566818747f375b75111fc20340febe"><code>acbdbda</code></a> Fix false positives for <code>Layout/EmptyLineAfterGuardClause</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/9cc142e04f19802c4ce92ab33f18dd680601f895"><code>9cc142e</code></a> Fix incorrect Position character value in LSP</li> <li><a href="https://github.com/rubocop/rubocop/commit/5e07aa1001b41acc4594f81c2ebcf5de9be4dcfd"><code>5e07aa1</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14712">#14712</a> from moznion/fix_escaped_single_quote</li> <li><a href="https://github.com/rubocop/rubocop/commit/8f5b029fea2dc94fa75f2d8820058d29f0c7c8e7"><code>8f5b029</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14711">#14711</a>] Fix broken auto-correction in <code>Style/RedundantRegexpArgument</code> rule</li> <li><a href="https://github.com/rubocop/rubocop/commit/bcfdf5fadecf8126893fe2fb89f2634e7fe987c9"><code>bcfdf5f</code></a> Add some specs for <code>Style/RedundantCondition</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/2c9071d5764d728ad11e821dd338fe33371b5ca3"><code>2c9071d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14707">#14707</a> from koic/fix_false_negatives_for_lint_no_return_in...</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.81.7...v1.82.0">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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6646 -- Commit Summary -- * Bump rubocop from 1.81.7 to 1.82.0 in the rubocop group -- File Changes -- M Gemfile.lock (8) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6646.patch https://github.com/openstreetmap/openstreetmap-website/pull/6646.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6646 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
