mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Bump ruff from 0.9.3 to 0.9.4 (#23563)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.3 to 0.9.4. <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.4</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Extend airflow context parameter check for <code>BaseOperator.execute</code> (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15713">#15713</a>)</li> <li>[<code>airflow</code>] Update <code>AIR302</code> to check for deprecated context keys (<a href="https://redirect.github.com/astral-sh/ruff/pull/15144">#15144</a>)</li> <li>[<code>flake8-bandit</code>] Permit suspicious imports within stub files (<code>S4</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15822">#15822</a>)</li> <li>[<code>pylint</code>] Do not trigger <code>PLR6201</code> on empty collections (<a href="https://redirect.github.com/astral-sh/ruff/pull/15732">#15732</a>)</li> <li>[<code>refurb</code>] Do not emit diagnostic when loop variables are used outside loop body (<code>FURB122</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15757">#15757</a>)</li> <li>[<code>ruff</code>] Add support for more <code>re</code> patterns (<code>RUF055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15764">#15764</a>)</li> <li>[<code>ruff</code>] Check for shadowed <code>map</code> before suggesting fix (<code>RUF058</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15790">#15790</a>)</li> <li>[<code>ruff</code>] Do not emit diagnostic when all arguments to <code>zip()</code> are variadic (<code>RUF058</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15744">#15744</a>)</li> <li>[<code>ruff</code>] Parenthesize fix when argument spans multiple lines for <code>unnecessary-round</code> (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15703">#15703</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Preserve quote style in generated code (<a href="https://redirect.github.com/astral-sh/ruff/pull/15726">#15726</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15778">#15778</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15794">#15794</a>)</li> <li>[<code>flake8-bugbear</code>] Exempt <code>NewType</code> calls where the original type is immutable (<code>B008</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15765">#15765</a>)</li> <li>[<code>pylint</code>] Honor banned top-level imports by <code>TID253</code> in <code>PLC0415</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/15628">#15628</a>)</li> <li>[<code>pyupgrade</code>] Ignore <code>is_typeddict</code> and <code>TypedDict</code> for <code>deprecated-import</code> (<code>UP035</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15800">#15800</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Fix formatter warning message for <code>flake8-quotes</code> option (<a href="https://redirect.github.com/astral-sh/ruff/pull/15788">#15788</a>)</li> <li>Implement tab autocomplete for <code>ruff config</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15603">#15603</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Do not emit <code>unnecessary-map</code> diagnostic when lambda has different arity (<code>C417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15802">#15802</a>)</li> <li>[<code>flake8-comprehensions</code>] Parenthesize <code>sorted</code> when needed for <code>unnecessary-call-around-sorted</code> (<code>C413</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15825">#15825</a>)</li> <li>[<code>pyupgrade</code>] Handle end-of-line comments for <code>quoted-annotation</code> (<code>UP037</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15824">#15824</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add missing config docstrings (<a href="https://redirect.github.com/astral-sh/ruff/pull/15803">#15803</a>)</li> <li>Add references to <code>trio.run_process</code> and <code>anyio.run_process</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15761">#15761</a>)</li> <li>Use <code>uv init --lib</code> in tutorial (<a href="https://redirect.github.com/astral-sh/ruff/pull/15718">#15718</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/Garrett-R"><code>@Garrett-R</code></a></li> <li><a href="https://github.com/InSyncWithFoo"><code>@InSyncWithFoo</code></a></li> <li><a href="https://github.com/JelleZijlstra"><code>@JelleZijlstra</code></a></li> <li><a href="https://github.com/Lee-W"><code>@Lee-W</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/dcreager"><code>@dcreager</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</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/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.9.4</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Extend airflow context parameter check for <code>BaseOperator.execute</code> (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15713">#15713</a>)</li> <li>[<code>airflow</code>] Update <code>AIR302</code> to check for deprecated context keys (<a href="https://redirect.github.com/astral-sh/ruff/pull/15144">#15144</a>)</li> <li>[<code>flake8-bandit</code>] Permit suspicious imports within stub files (<code>S4</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15822">#15822</a>)</li> <li>[<code>pylint</code>] Do not trigger <code>PLR6201</code> on empty collections (<a href="https://redirect.github.com/astral-sh/ruff/pull/15732">#15732</a>)</li> <li>[<code>refurb</code>] Do not emit diagnostic when loop variables are used outside loop body (<code>FURB122</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15757">#15757</a>)</li> <li>[<code>ruff</code>] Add support for more <code>re</code> patterns (<code>RUF055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15764">#15764</a>)</li> <li>[<code>ruff</code>] Check for shadowed <code>map</code> before suggesting fix (<code>RUF058</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15790">#15790</a>)</li> <li>[<code>ruff</code>] Do not emit diagnostic when all arguments to <code>zip()</code> are variadic (<code>RUF058</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15744">#15744</a>)</li> <li>[<code>ruff</code>] Parenthesize fix when argument spans multiple lines for <code>unnecessary-round</code> (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15703">#15703</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Preserve quote style in generated code (<a href="https://redirect.github.com/astral-sh/ruff/pull/15726">#15726</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15778">#15778</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15794">#15794</a>)</li> <li>[<code>flake8-bugbear</code>] Exempt <code>NewType</code> calls where the original type is immutable (<code>B008</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15765">#15765</a>)</li> <li>[<code>pylint</code>] Honor banned top-level imports by <code>TID253</code> in <code>PLC0415</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/15628">#15628</a>)</li> <li>[<code>pyupgrade</code>] Ignore <code>is_typeddict</code> and <code>TypedDict</code> for <code>deprecated-import</code> (<code>UP035</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15800">#15800</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Fix formatter warning message for <code>flake8-quotes</code> option (<a href="https://redirect.github.com/astral-sh/ruff/pull/15788">#15788</a>)</li> <li>Implement tab autocomplete for <code>ruff config</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15603">#15603</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Do not emit <code>unnecessary-map</code> diagnostic when lambda has different arity (<code>C417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15802">#15802</a>)</li> <li>[<code>flake8-comprehensions</code>] Parenthesize <code>sorted</code> when needed for <code>unnecessary-call-around-sorted</code> (<code>C413</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15825">#15825</a>)</li> <li>[<code>pyupgrade</code>] Handle end-of-line comments for <code>quoted-annotation</code> (<code>UP037</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15824">#15824</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add missing config docstrings (<a href="https://redirect.github.com/astral-sh/ruff/pull/15803">#15803</a>)</li> <li>Add references to <code>trio.run_process</code> and <code>anyio.run_process</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15761">#15761</a>)</li> <li>Use <code>uv init --lib</code> in tutorial (<a href="https://redirect.github.com/astral-sh/ruff/pull/15718">#15718</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="854ab03078"><code>854ab03</code></a> Bump version to 0.9.4 (<a href="https://redirect.github.com/astral-sh/ruff/issues/15831">#15831</a>)</li> <li><a href="b0b8b06241"><code>b0b8b06</code></a> Remove semicolon after TypeScript interface definition (<a href="https://redirect.github.com/astral-sh/ruff/issues/15827">#15827</a>)</li> <li><a href="451f251a31"><code>451f251</code></a> [red-knot] Clarify behavior when redeclaring base class attributes (<a href="https://redirect.github.com/astral-sh/ruff/issues/15826">#15826</a>)</li> <li><a href="13cf3e65f1"><code>13cf3e6</code></a> [<code>flake8-comprehensions</code>] Parenthesize <code>sorted</code> when needed for `unnecessary-...</li> <li><a href="56f956a238"><code>56f956a</code></a> [<code>pyupgrade</code>] Handle end-of-line comments for <code>quoted-annotation</code> (<code>UP037</code>) (...</li> <li><a href="7a10a40b0d"><code>7a10a40</code></a> [<code>flake8-bandit</code>] Permit suspicious imports within stub files (<code>S4</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/15822">#15822</a>)</li> <li><a href="3125332ec1"><code>3125332</code></a> [red-knot] Format mdtest snippets with the latest version of black (<a href="https://redirect.github.com/astral-sh/ruff/issues/15819">#15819</a>)</li> <li><a href="15d886a502"><code>15d886a</code></a> [red-knot] Consider all definitions after terminal statements unreachable (<a href="https://redirect.github.com/astral-sh/ruff/issues/1">#1</a>...</li> <li><a href="e1c9d10863"><code>e1c9d10</code></a> [<code>flake8-comprehensions</code>] Do not emit <code>unnecessary-map</code> diagnostic when lambd...</li> <li><a href="23c98849fc"><code>23c9884</code></a> Preserve quotes in generated f-strings (<a href="https://redirect.github.com/astral-sh/ruff/issues/15794">#15794</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.9.3...0.9.4">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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
b2560a75cf
commit
26ff2b66ef
1 changed files with 1 additions and 1 deletions
|
|
@ -3,6 +3,6 @@
|
|||
lintrunner==0.12.5
|
||||
lintrunner-adapters==0.12.4
|
||||
# RUFF
|
||||
ruff==0.9.3
|
||||
ruff==0.9.4
|
||||
# CLANGFORMAT
|
||||
clang-format==19.1.7
|
||||
|
|
|
|||
Loading…
Reference in a new issue