dependabot[bot] opened a new pull request, #303: URL: https://github.com/apache/hudi-rs/pull/303
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.2 to 0.9.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.9.7</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Consider <code>__new__</code> methods as special function type for enforcing class method or static method rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/13305">#13305</a>)</li> <li>[<code>airflow</code>] Improve the internal logic to differentiate deprecated symbols (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16013">#16013</a>)</li> <li>[<code>refurb</code>] Manual timezone monkeypatching (<code>FURB162</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16113">#16113</a>)</li> <li>[<code>ruff</code>] Implicit class variable in dataclass (<code>RUF045</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14349">#14349</a>)</li> <li>[<code>ruff</code>] Skip singleton starred expressions for <code>incorrectly-parenthesized-tuple-in-subscript</code> (<code>RUF031</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16083">#16083</a>)</li> <li>[<code>refurb</code>] Check for subclasses includes subscript expressions (<code>FURB189</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16155">#16155</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-debugger</code>] Also flag <code>sys.breakpointhook</code> and <code>sys.__breakpointhook__</code> (<code>T100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16191">#16191</a>)</li> <li>[<code>pycodestyle</code>] Exempt <code>site.addsitedir(...)</code> calls (<code>E402</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16251">#16251</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (<a href="https://redirect.github.com/astral-sh/ruff/pull/16187">#16187</a>)</li> </ul> <h3>Server</h3> <ul> <li>Fix handling of requests received after shutdown message (<a href="https://redirect.github.com/astral-sh/ruff/pull/16262">#16262</a>)</li> <li>Ignore <code>source.organizeImports.ruff</code> and <code>source.fixAll.ruff</code> code actions for a notebook cell (<a href="https://redirect.github.com/astral-sh/ruff/pull/16154">#16154</a>)</li> <li>Include document specific debug info for <code>ruff.printDebugInformation</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/16215">#16215</a>)</li> <li>Update server to return the debug info as string with <code>ruff.printDebugInformation</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/16214">#16214</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Warn on invalid <code>noqa</code> even when there are no diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/16178">#16178</a>)</li> <li>Better error messages while loading configuration <code>extend</code>s (<a href="https://redirect.github.com/astral-sh/ruff/pull/15658">#15658</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Handle trailing comma in <code>C403</code> fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/16110">#16110</a>)</li> <li>[<code>flake8-pyi</code>] Avoid flagging <code>custom-typevar-for-self</code> on metaclass methods (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16141">#16141</a>)</li> <li>[<code>pydocstyle</code>] Handle arguments with the same names as sections (<code>D417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16011">#16011</a>)</li> <li>[<code>pylint</code>] Correct ordering of arguments in fix for <code>if-stmt-min-max</code> (<code>PLR1730</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16080">#16080</a>)</li> <li>[<code>pylint</code>] Do not offer fix for raw strings (<code>PLE251</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16132">#16132</a>)</li> <li>[<code>pyupgrade</code>] Do not upgrade functional <code>TypedDicts</code> with private field names to the class-based syntax (<code>UP013</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16219">#16219</a>)</li> <li>[<code>pyupgrade</code>] Handle micro version numbers correctly (<code>UP036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16091">#16091</a>)</li> <li>[<code>pyupgrade</code>] Unwrap unary expressions correctly (<code>UP018</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15919">#15919</a>)</li> <li>[<code>refurb</code>] Correctly handle lengths of literal strings in <code>slice-to-remove-prefix-or-suffix</code> (<code>FURB188</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16237">#16237</a>)</li> <li>[<code>ruff</code>] Skip <code>RUF001</code> diagnostics when visiting string type definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/16122">#16122</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add FAQ entry for <code>source.*</code> code actions in Notebook (<a href="https://redirect.github.com/astral-sh/ruff/pull/16212">#16212</a>)</li> <li>Add <code>SECURITY.md</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/16224">#16224</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.9.7</h2> <h3>Preview features</h3> <ul> <li>Consider <code>__new__</code> methods as special function type for enforcing class method or static method rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/13305">#13305</a>)</li> <li>[<code>airflow</code>] Improve the internal logic to differentiate deprecated symbols (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16013">#16013</a>)</li> <li>[<code>refurb</code>] Manual timezone monkeypatching (<code>FURB162</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16113">#16113</a>)</li> <li>[<code>ruff</code>] Implicit class variable in dataclass (<code>RUF045</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14349">#14349</a>)</li> <li>[<code>ruff</code>] Skip singleton starred expressions for <code>incorrectly-parenthesized-tuple-in-subscript</code> (<code>RUF031</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16083">#16083</a>)</li> <li>[<code>refurb</code>] Check for subclasses includes subscript expressions (<code>FURB189</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16155">#16155</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-debugger</code>] Also flag <code>sys.breakpointhook</code> and <code>sys.__breakpointhook__</code> (<code>T100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16191">#16191</a>)</li> <li>[<code>pycodestyle</code>] Exempt <code>site.addsitedir(...)</code> calls (<code>E402</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16251">#16251</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (<a href="https://redirect.github.com/astral-sh/ruff/pull/16187">#16187</a>)</li> </ul> <h3>Server</h3> <ul> <li>Fix handling of requests received after shutdown message (<a href="https://redirect.github.com/astral-sh/ruff/pull/16262">#16262</a>)</li> <li>Ignore <code>source.organizeImports.ruff</code> and <code>source.fixAll.ruff</code> code actions for a notebook cell (<a href="https://redirect.github.com/astral-sh/ruff/pull/16154">#16154</a>)</li> <li>Include document specific debug info for <code>ruff.printDebugInformation</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/16215">#16215</a>)</li> <li>Update server to return the debug info as string with <code>ruff.printDebugInformation</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/16214">#16214</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Warn on invalid <code>noqa</code> even when there are no diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/16178">#16178</a>)</li> <li>Better error messages while loading configuration <code>extend</code>s (<a href="https://redirect.github.com/astral-sh/ruff/pull/15658">#15658</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Handle trailing comma in <code>C403</code> fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/16110">#16110</a>)</li> <li>[<code>flake8-pyi</code>] Avoid flagging <code>custom-typevar-for-self</code> on metaclass methods (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16141">#16141</a>)</li> <li>[<code>pydocstyle</code>] Handle arguments with the same names as sections (<code>D417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16011">#16011</a>)</li> <li>[<code>pylint</code>] Correct ordering of arguments in fix for <code>if-stmt-min-max</code> (<code>PLR1730</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16080">#16080</a>)</li> <li>[<code>pylint</code>] Do not offer fix for raw strings (<code>PLE251</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16132">#16132</a>)</li> <li>[<code>pyupgrade</code>] Do not upgrade functional <code>TypedDicts</code> with private field names to the class-based syntax (<code>UP013</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16219">#16219</a>)</li> <li>[<code>pyupgrade</code>] Handle micro version numbers correctly (<code>UP036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16091">#16091</a>)</li> <li>[<code>pyupgrade</code>] Unwrap unary expressions correctly (<code>UP018</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15919">#15919</a>)</li> <li>[<code>refurb</code>] Correctly handle lengths of literal strings in <code>slice-to-remove-prefix-or-suffix</code> (<code>FURB188</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16237">#16237</a>)</li> <li>[<code>ruff</code>] Skip <code>RUF001</code> diagnostics when visiting string type definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/16122">#16122</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add FAQ entry for <code>source.*</code> code actions in Notebook (<a href="https://redirect.github.com/astral-sh/ruff/pull/16212">#16212</a>)</li> <li>Add <code>SECURITY.md</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/16224">#16224</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/54fccb3ee23a2b20b287e631f32f18ee5b64b62b"><code>54fccb3</code></a> Bump version to 0.9.7 (<a href="https://redirect.github.com/astral-sh/ruff/issues/16271">#16271</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8198668fc34283eeff9be6dae337a7b38e3d498b"><code>8198668</code></a> [red-knot] MDTest: Use custom class names instead of builtins (<a href="https://redirect.github.com/astral-sh/ruff/issues/16269">#16269</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/fc6b03c8daf203fd323a74ab9eb290a61013ae5b"><code>fc6b03c</code></a> Handle requests received after shutdown message (<a href="https://redirect.github.com/astral-sh/ruff/issues/16262">#16262</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/fb09d63e5507d73e764bdaadfacc8a34a139b78d"><code>fb09d63</code></a> [red-knot] Prefix <code>Type::call</code> and <code>dunder_call</code> with <code>try</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/16261">#16261</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/16d0625dfb7c62afdf773e38b62eb4ccf71e01bc"><code>16d0625</code></a> Improve internal docs for various string-node APIs (<a href="https://redirect.github.com/astral-sh/ruff/issues/16256">#16256</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/25920fe489346f8e0a117ab7781455aa30388c79"><code>25920fe</code></a> Rename <code>ExprStringLiteral::as_unconcatenated_string()</code> to `ExprStringLiteral:...</li> <li><a href="https://github.com/astral-sh/ruff/commit/97d0659ce3e3977245ca202770078a9df60849dd"><code>97d0659</code></a> Pass <code>ParserOptions</code> to the parser (<a href="https://redirect.github.com/astral-sh/ruff/issues/16220">#16220</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/cfc6941d5c4b90f74329a5db6c590ce93683a6c0"><code>cfc6941</code></a> [red-knot] Resolve references in eager nested scopes eagerly (<a href="https://redirect.github.com/astral-sh/ruff/issues/16079">#16079</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f50849aeef51a381af6c27df8595ac0e1ef5a891"><code>f50849a</code></a> Add <code>text_len()</code> methods to more <code>*Prefix</code> enums in <code>ruff_python_ast</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/16254">#16254</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/55ea09401a6045441ff2c55a769a53a20faaf3d5"><code>55ea094</code></a> [red-knot] Allow any <code>Ranged</code> argument for <code>report_lint</code> and `report_diagnost...</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.5.2...0.9.7">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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
