Tree
- Tree:
9225cd9ffc748464e99bf21cce28ed21506c1101
- Date:
- Message:
- Bump ruff from 0.7.0 to 0.7.1 (#1400) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.0 to 0.7.1. <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.7.1</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Fix <code>E221</code> and <code>E222</code> to flag missing or extra whitespace around <code>==</code> operator (<a href="https://redirect.github.com/astral-sh/ruff/pull/13890">#13890</a>)</li> <li>Formatter: Alternate quotes for strings inside f-strings in preview (<a href="https://redirect.github.com/astral-sh/ruff/pull/13860">#13860</a>)</li> <li>Formatter: Join implicit concatenated strings when they fit on a line (<a href="https://redirect.github.com/astral-sh/ruff/pull/13663">#13663</a>)</li> <li>[<code>pylint</code>] Restrict <code>iteration-over-set</code> to only work on sets of literals (<code>PLC0208</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13731">#13731</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-type-checking</code>] Support auto-quoting when annotations contain quotes (<a href="https://redirect.github.com/astral-sh/ruff/pull/11811">#11811</a>)</li> </ul> <h3>Server</h3> <ul> <li>Avoid indexing the workspace for single-file mode (<a href="https://redirect.github.com/astral-sh/ruff/pull/13770">#13770</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Make <code>ARG002</code> compatible with <code>EM101</code> when raising <code>NotImplementedError</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13714">#13714</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Introduce more Docker tags for Ruff (similar to uv) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13274">#13274</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/Aditya-PS-05"><code>@Aditya-PS-05</code></a></li> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/Glyphack"><code>@Glyphack</code></a></li> <li><a href="https://github.com/Lexxxzy"><code>@Lexxxzy</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/TomerBin"><code>@TomerBin</code></a></li> <li><a href="https://github.com/Watercycle"><code>@Watercycle</code></a></li> <li><a href="https://github.com/cake-monotone"><code>@cake-monotone</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/diceroll123"><code>@diceroll123</code></a></li> <li><a href="https://github.com/mihaic"><code>@mihaic</code></a></li> <li><a href="https://github.com/ndmitchell"><code>@ndmitchell</code></a></li> <li><a href="https://github.com/pilleye"><code>@pilleye</code></a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a></li> <li><a href="https://github.com/rtpg"><code>@rtpg</code></a></li> <li><a href="https://github.com/samypr100"><code>@samypr100</code></a></li> <li><a href="https://github.com/sharkdp"><code>@sharkdp</code></a></li> </ul> <h2>Install ruff 0.7.1</h2> <h3>Install prebuilt binaries via shell script</h3> <!-- 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.7.1</h2> <h3>Preview features</h3> <ul> <li>Fix <code>E221</code> and <code>E222</code> to flag missing or extra whitespace around <code>==</code> operator (<a href="https://redirect.github.com/astral-sh/ruff/pull/13890">#13890</a>)</li> <li>Formatter: Alternate quotes for strings inside f-strings in preview (<a href="https://redirect.github.com/astral-sh/ruff/pull/13860">#13860</a>)</li> <li>Formatter: Join implicit concatenated strings when they fit on a line (<a href="https://redirect.github.com/astral-sh/ruff/pull/13663">#13663</a>)</li> <li>[<code>pylint</code>] Restrict <code>iteration-over-set</code> to only work on sets of literals (<code>PLC0208</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13731">#13731</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-type-checking</code>] Support auto-quoting when annotations contain quotes (<a href="https://redirect.github.com/astral-sh/ruff/pull/11811">#11811</a>)</li> </ul> <h3>Server</h3> <ul> <li>Avoid indexing the workspace for single-file mode (<a href="https://redirect.github.com/astral-sh/ruff/pull/13770">#13770</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Make <code>ARG002</code> compatible with <code>EM101</code> when raising <code>NotImplementedError</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13714">#13714</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Introduce more Docker tags for Ruff (similar to uv) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13274">#13274</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/337af836d3b2d88413c1391495a94755af46f574"><code>337af83</code></a> Bump version to 0.7.1 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13913">#13913</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/113ce840a690cd59acbaf7d40d70b4352df681fe"><code>113ce84</code></a> Fix <code>normalize</code> arguments when <code>fstring_formatting</code> is disabled (<a href="https://redirect.github.com/astral-sh/ruff/issues/13910">#13910</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7272f8386894583f61c8b83200899906de64eaf4"><code>7272f83</code></a> Fix preview style name in <code>can_omit_parentheses</code> to is_f_string_formatting_en...</li> <li><a href="https://github.com/astral-sh/ruff/commit/3eb454699ade14cfb6f393d10ff5b4914ab34b0f"><code>3eb4546</code></a> [red-knot] Format mdtest Python snippets more concisely (<a href="https://redirect.github.com/astral-sh/ruff/issues/13905">#13905</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/77ae0ccf0f5c8eda2e0249d517043e7f7279588b"><code>77ae0cc</code></a> [red-knot] Infer subscript expression types for bytes literals (<a href="https://redirect.github.com/astral-sh/ruff/issues/13901">#13901</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/73ee72b665f333c47c9f597d06317854dd59bdd3"><code>73ee72b</code></a> Join implicit concatenated strings when they fit on a line (<a href="https://redirect.github.com/astral-sh/ruff/issues/13663">#13663</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e402e27a09242d7a3e95082349ebabb6362a0e2e"><code>e402e27</code></a> Use referencial equality in <code>traversal</code> helper methods (<a href="https://redirect.github.com/astral-sh/ruff/issues/13895">#13895</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/de4181d7dd2baca8beff8217a8c897537b80baa0"><code>de4181d</code></a> Remove "default" remark from <code>ruff check</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/13900">#13900</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2c57c2dc8ac972bfb7b01e736d65f8e608bf61f6"><code>2c57c2d</code></a> [red-knot] Type narrowing for <code>isinstance</code> checks (<a href="https://redirect.github.com/astral-sh/ruff/issues/13894">#13894</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/72c18c8225166f1f08a826c622b9cbcb48331162"><code>72c18c8</code></a> Fix E221 and E222 to flag missing or extra whitespace around <code>==</code> operator (#...</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.7.0...0.7.1">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.7.0&new-version=0.7.1)](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>