Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build(deps-dev): Bump ruff from 0.0.292 to 0.1.0 (#115)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.292 to 0.1.0. <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.1.0</h2> <h3>Breaking changes</h3> <ul> <li>Unsafe fixes are no longer displayed or applied without opt-in (<a href="https://redirect.github.com/astral-sh/ruff/pull/7769">#7769</a>)</li> <li>Drop formatting specific rules from the default set (<a href="https://redirect.github.com/astral-sh/ruff/pull/7900">#7900</a>)</li> <li>The deprecated <code>format</code> setting has been removed (<a href="https://redirect.github.com/astral-sh/ruff/pull/7984">#7984</a>) <ul> <li>The <code>format</code> setting cannot be used to configure the output format, use <code>output-format</code> instead</li> <li>The <code>RUFF_FORMAT</code> environment variable is ignored, use <code>RUFF_OUTPUT_FORMAT</code> instead</li> <li>The <code>--format</code> option has been removed from <code>ruff check</code>, use <code>--output-format</code> instead</li> </ul> </li> </ul> <h3>Rule changes</h3> <ul> <li>Extend <code>reimplemented-starmap</code> (<code>FURB140</code>) to catch calls with a single and starred argument (<a href="https://redirect.github.com/astral-sh/ruff/pull/7768">#7768</a>)</li> <li>Improve cases covered by <code>RUF015</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7848">#7848</a>)</li> <li>Update <code>SIM15</code> to allow <code>open</code> followed by <code>close</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7916">#7916</a>)</li> <li>Respect <code>msgspec.Struct</code> default-copy semantics in <code>RUF012</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7786">#7786</a>)</li> <li>Add <code>sqlalchemy</code> methods to `flake8-boolean-trap`` exclusion list (<a href="https://redirect.github.com/astral-sh/ruff/pull/7874">#7874</a>)</li> <li>Add fix for <code>PLR1714</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7910">#7910</a>)</li> <li>Add fix for <code>PIE804</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7884">#7884</a>)</li> <li>Add fix for <code>PLC0208</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7887">#7887</a>)</li> <li>Add fix for <code>PYI055</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7886">#7886</a>)</li> <li>Update <code>non-pep695-type-alias</code> to require <code>--unsafe-fixes</code> outside of stub files (<a href="https://redirect.github.com/astral-sh/ruff/pull/7836">#7836</a>)</li> <li>Improve fix message for <code>UP018</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7913">#7913</a>)</li> <li>Update <code>PLW3201</code> to support <code>Enum</code> <a href="https://docs.python.org/3/library/enum.html#supported-sunder-names">sunder names</a> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7987">#7987</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>Only show warnings for empty preview selectors when enabling rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/7842">#7842</a>)</li> <li>Add <code>unnecessary-key-check</code> to simplify <code>key in dct and dct[key]</code> to <code>dct.get(key)</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7895">#7895</a>)</li> <li>Add <code>assignment-in-assert</code> to prevent walrus expressions in assert statements (<a href="https://redirect.github.com/astral-sh/ruff/pull/7856">#7856</a>)</li> <li>[<code>refurb</code>] Add <code>single-item-membership-test</code> (<code>FURB171</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/7815">#7815</a>)</li> <li>[<code>pylint</code>] Add <code>and-or-ternary</code> (<code>R1706</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/7811">#7811</a>)</li> </ul> <p><em>New rules are added in <a href="https://docs.astral.sh/ruff/preview/">preview</a>.</em></p> <h3>Configuration</h3> <ul> <li>Add <code>unsafe-fixes</code> setting (<a href="https://redirect.github.com/astral-sh/ruff/pull/7769">#7769</a>)</li> <li>Add <code>extend-safe-fixes</code> and <code>extend-unsafe-fixes</code> for promoting and demoting fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/7841">#7841</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Added <code>--unsafe-fixes</code> option for opt-in to display and apply unsafe fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/7769">#7769</a>)</li> <li>Fix use of deprecated <code>--format</code> option in warning (<a href="https://redirect.github.com/astral-sh/ruff/pull/7837">#7837</a>)</li> <li>Show changed files when running under <code>--check</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7788">#7788</a>)</li> <li>Write summary messages to stderr when fixing via stdin instead of omitting them (<a href="https://redirect.github.com/astral-sh/ruff/pull/7838">#7838</a>)</li> <li>Update fix summary message in <code>check --diff</code> to include unsafe fix hints (<a href="https://redirect.github.com/astral-sh/ruff/pull/7790">#7790</a>)</li> <li>Add notebook <code>cell</code> field to JSON output format (<a href="https://redirect.github.com/astral-sh/ruff/pull/7664">#7664</a>)</li> <li>Rename applicability levels to <code>Safe</code>, <code>Unsafe</code>, and <code>Display</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/7843">#7843</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/172ac2c9a27040e4a60726f82cabed6166af094a"><code>172ac2c</code></a> Add entry for <a href="https://redirect.github.com/astral-sh/ruff/issues/7987">#7987</a> to 0.1.0 changelog (<a href="https://redirect.github.com/astral-sh/ruff/issues/7988">#7988</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/cac9754455cf91e374ded6bd6f7366233e7dbc76"><code>cac9754</code></a> Update fix safety FAQ to reflect <code>--unsafe-fixes</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/7969">#7969</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/134def011917bb7460ac8da3ac31cc9065a26103"><code>134def0</code></a> Allow sunder names from <code>enum.Enum</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/7987">#7987</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1fabaca5de2f58aa3fc00e80f693c3230f8328c6"><code>1fabaca</code></a> Bump version to 0.1.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/7931">#7931</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/523f542dbd05474f1338b62de087e624419b5626"><code>523f542</code></a> Remove support for providing output format via <code>format</code> option (<a href="https://redirect.github.com/astral-sh/ruff/issues/7984">#7984</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ee7575eb5a44cd6733f82d77310c2d21f3c41f69"><code>ee7575e</code></a> Bump regex to 1.10.2 (<a href="https://redirect.github.com/astral-sh/ruff/issues/7985">#7985</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/84f7391cc513178c2ae7f507f8d6986005c5265c"><code>84f7391</code></a> Use Cow in printf rewrite rule (<a href="https://redirect.github.com/astral-sh/ruff/issues/7986">#7986</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7da4e28a98d01b63a6cc785b28eba331fb9fbb31"><code>7da4e28</code></a> Bump aho-corasick from 1.1.1 to 1.1.2 (<a href="https://redirect.github.com/astral-sh/ruff/issues/7979">#7979</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5718df638f8968f88e4c68772d68acc565f12e78"><code>5718df6</code></a> Bump cloudflare/wrangler-action from 3.2.0 to 3.3.1 (<a href="https://redirect.github.com/astral-sh/ruff/issues/7982">#7982</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4bb4cd3b37b2780a34d4575e5348400c3000dc88"><code>4bb4cd3</code></a> Update and extend formatter ecosystem checks (<a href="https://redirect.github.com/astral-sh/ruff/issues/7981">#7981</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.0.292...v0.1.0">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.292&new-version=0.1.0)](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>
- Loading branch information