Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-dev): bump ruff from 0.0.278 to 0.4.3 (#159)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.278 to 0.4.3. <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>v0.4.3</h2> <h2>Changes</h2> <h3>Enhancements</h3> <ul> <li>Add support for PEP 696 syntax (<a href="https://redirect.github.com/astral-sh/ruff/pull/11120">#11120</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>[<code>refurb</code>] Use function range for <code>reimplemented-operator</code> diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/11271">#11271</a>)</li> <li>[<code>refurb</code>] Ignore methods in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11270">#11270</a>)</li> <li>[<code>refurb</code>] Implement <code>fstring-number-format</code> (<code>FURB116</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10921">#10921</a>)</li> <li>[<code>ruff</code>] Implement <code>redirected-noqa</code> (<code>RUF101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11052">#11052</a>)</li> <li>[<code>pyflakes</code>] Distinguish between first-party and third-party imports for fix suggestions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11168">#11168</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Ignore non-abstract class attributes when enforcing <code>B024</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11210">#11210</a>)</li> <li>[<code>flake8-logging</code>] Include inline instantiations when detecting loggers (<a href="https://redirect.github.com/astral-sh/ruff/pull/11154">#11154</a>)</li> <li>[<code>pylint</code>] Also emit <code>PLR0206</code> for properties with variadic parameters (<a href="https://redirect.github.com/astral-sh/ruff/pull/11200">#11200</a>)</li> <li>[<code>ruff</code>] Detect duplicate codes as part of <code>unused-noqa</code> (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10850">#10850</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Avoid multiline expression if format specifier is present (<a href="https://redirect.github.com/astral-sh/ruff/pull/11123">#11123</a>)</li> </ul> <h3>LSP</h3> <ul> <li>Write <code>ruff server</code> setup guide for Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11183">#11183</a>)</li> <li><code>ruff server</code> no longer hangs after shutdown (<a href="https://redirect.github.com/astral-sh/ruff/pull/11222">#11222</a>)</li> <li><code>ruff server</code> reads from a configuration TOML file in the user configuration directory if no local configuration exists (<a href="https://redirect.github.com/astral-sh/ruff/pull/11225">#11225</a>)</li> <li><code>ruff server</code> respects <code>per-file-ignores</code> configuration (<a href="https://redirect.github.com/astral-sh/ruff/pull/11224">#11224</a>)</li> <li><code>ruff server</code>: Support a custom TOML configuration file (<a href="https://redirect.github.com/astral-sh/ruff/pull/11140">#11140</a>)</li> <li><code>ruff server</code>: Support setting to prioritize project configuration over editor configuration (<a href="https://redirect.github.com/astral-sh/ruff/pull/11086">#11086</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid debug assertion around NFKC renames (<a href="https://redirect.github.com/astral-sh/ruff/pull/11249">#11249</a>)</li> <li>[<code>pyflakes</code>] Prioritize <code>redefined-while-unused</code> over <code>unused-import</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11173">#11173</a>)</li> <li>[<code>ruff</code>] Respect <code>async</code> expressions in comprehension bodies (<a href="https://redirect.github.com/astral-sh/ruff/pull/11219">#11219</a>)</li> <li>[<code>pygrep_hooks</code>] Fix <code>blanket-noqa</code> panic when last line has noqa with no newline (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11108">#11108</a>)</li> <li>[<code>perflint</code>] Ignore list-copy recommendations for async <code>for</code> loops (<a href="https://redirect.github.com/astral-sh/ruff/pull/11250">#11250</a>)</li> <li>[<code>pyflakes</code>] Improve <code>invalid-print-syntax</code> documentation (<a href="https://redirect.github.com/astral-sh/ruff/pull/11171">#11171</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid allocations for isort module names (<a href="https://redirect.github.com/astral-sh/ruff/pull/11251">#11251</a>)</li> <li>Build a separate ARM wheel for macOS (<a href="https://redirect.github.com/astral-sh/ruff/pull/11149">#11149</a>)</li> </ul> <h2>Contributors</h2> <!-- 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.4.3</h2> <h3>Enhancements</h3> <ul> <li>Add support for PEP 696 syntax (<a href="https://redirect.github.com/astral-sh/ruff/pull/11120">#11120</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>[<code>refurb</code>] Use function range for <code>reimplemented-operator</code> diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/11271">#11271</a>)</li> <li>[<code>refurb</code>] Ignore methods in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11270">#11270</a>)</li> <li>[<code>refurb</code>] Implement <code>fstring-number-format</code> (<code>FURB116</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10921">#10921</a>)</li> <li>[<code>ruff</code>] Implement <code>redirected-noqa</code> (<code>RUF101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11052">#11052</a>)</li> <li>[<code>pyflakes</code>] Distinguish between first-party and third-party imports for fix suggestions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11168">#11168</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Ignore non-abstract class attributes when enforcing <code>B024</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11210">#11210</a>)</li> <li>[<code>flake8-logging</code>] Include inline instantiations when detecting loggers (<a href="https://redirect.github.com/astral-sh/ruff/pull/11154">#11154</a>)</li> <li>[<code>pylint</code>] Also emit <code>PLR0206</code> for properties with variadic parameters (<a href="https://redirect.github.com/astral-sh/ruff/pull/11200">#11200</a>)</li> <li>[<code>ruff</code>] Detect duplicate codes as part of <code>unused-noqa</code> (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10850">#10850</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Avoid multiline expression if format specifier is present (<a href="https://redirect.github.com/astral-sh/ruff/pull/11123">#11123</a>)</li> </ul> <h3>LSP</h3> <ul> <li>Write <code>ruff server</code> setup guide for Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11183">#11183</a>)</li> <li><code>ruff server</code> no longer hangs after shutdown (<a href="https://redirect.github.com/astral-sh/ruff/pull/11222">#11222</a>)</li> <li><code>ruff server</code> reads from a configuration TOML file in the user configuration directory if no local configuration exists (<a href="https://redirect.github.com/astral-sh/ruff/pull/11225">#11225</a>)</li> <li><code>ruff server</code> respects <code>per-file-ignores</code> configuration (<a href="https://redirect.github.com/astral-sh/ruff/pull/11224">#11224</a>)</li> <li><code>ruff server</code>: Support a custom TOML configuration file (<a href="https://redirect.github.com/astral-sh/ruff/pull/11140">#11140</a>)</li> <li><code>ruff server</code>: Support setting to prioritize project configuration over editor configuration (<a href="https://redirect.github.com/astral-sh/ruff/pull/11086">#11086</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid debug assertion around NFKC renames (<a href="https://redirect.github.com/astral-sh/ruff/pull/11249">#11249</a>)</li> <li>[<code>pyflakes</code>] Prioritize <code>redefined-while-unused</code> over <code>unused-import</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11173">#11173</a>)</li> <li>[<code>ruff</code>] Respect <code>async</code> expressions in comprehension bodies (<a href="https://redirect.github.com/astral-sh/ruff/pull/11219">#11219</a>)</li> <li>[<code>pygrep_hooks</code>] Fix <code>blanket-noqa</code> panic when last line has noqa with no newline (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11108">#11108</a>)</li> <li>[<code>perflint</code>] Ignore list-copy recommendations for async <code>for</code> loops (<a href="https://redirect.github.com/astral-sh/ruff/pull/11250">#11250</a>)</li> <li>[<code>pyflakes</code>] Improve <code>invalid-print-syntax</code> documentation (<a href="https://redirect.github.com/astral-sh/ruff/pull/11171">#11171</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid allocations for isort module names (<a href="https://redirect.github.com/astral-sh/ruff/pull/11251">#11251</a>)</li> <li>Build a separate ARM wheel for macOS (<a href="https://redirect.github.com/astral-sh/ruff/pull/11149">#11149</a>)</li> </ul> <h2>0.4.2</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/1e91a0991828382f24e9306894ca23a186ed9635"><code>1e91a09</code></a> Bump version to v0.4.3 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11274">#11274</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d0f51c643414f185b7ee243d096f02956d1f7004"><code>d0f51c6</code></a> Remove remaining <code>ruff_shrinking</code> references (<a href="https://redirect.github.com/astral-sh/ruff/issues/11272">#11272</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8dd38110d9bd97cc1cbdcf747d2a0b566d374615"><code>8dd3811</code></a> Use function range for <code>reimplemented-operator</code> diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/issues/11271">#11271</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/894cd13ec1099ab1678aaa0274cc43dd9c2bb141"><code>894cd13</code></a> [<code>refurb</code>] Ignore methods in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/11270">#11270</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f3284fde9aff9df55fcc0a50b0d236c7e7f5f7ba"><code>f3284fd</code></a> Remove unnecessary check for RUF020 enabled (<a href="https://redirect.github.com/astral-sh/ruff/issues/11268">#11268</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/82dd5e693691c3e1ad3381be12232c0f2a55e84e"><code>82dd5e6</code></a> [red-knot] resolve class members (<a href="https://redirect.github.com/astral-sh/ruff/issues/11256">#11256</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6a1e5555377457f4a7c799b72341684a58c0887b"><code>6a1e555</code></a> Upgrade to Rust 1.78 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11260">#11260</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/349a4cf8cea9cfa5bfdd78e94c40220886008b7a"><code>349a4cf</code></a> Remove trailing reference section (<a href="https://redirect.github.com/astral-sh/ruff/issues/11257">#11257</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/dfbeca5bdd93cd84632654eabf1b22044e7d42ea"><code>dfbeca5</code></a> <code>ruff server</code> no longer hangs after shutdown (<a href="https://redirect.github.com/astral-sh/ruff/issues/11222">#11222</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9e69cd6e9392f73744d8b90a7587c4921477add3"><code>9e69cd6</code></a> Rephrase rationale for <code>pytest-incorrect-pytest-import</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11255">#11255</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.0.278...v0.4.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.0.278&new-version=0.4.3)](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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information