Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump ruff from 0.0.290 to 0.0.291 (#105)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.290 to 0.0.291. <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.0.291</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Deprecations</h3> <p><strong>The <code>format</code> command-line argument and configuration option has been renamed to <code>output-format</code>.</strong> While Ruff will continue to respect <code>format</code> when passed as a command-line argument or configuration option, this backwards-compatible support will be dropped in a future release. See: <a href="https://redirect.github.com/astral-sh/ruff/pull/7514">astral-sh/ruff#7514</a>.</p> <h3>Rules</h3> <ul> <li>[<code>flake8-bandit</code>] Implement <code>S201</code>: <code>flask-debug-true</code> by <a href="https://github.com/mkniewallner"><code>@mkniewallner</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7503">astral-sh/ruff#7503</a></li> <li>[<code>flake8-bandit</code>] Implement <code>S507</code>: <code>ssh_no_host_key_verification</code> by <a href="https://github.com/mkniewallner"><code>@mkniewallner</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7528">astral-sh/ruff#7528</a></li> <li>[<code>flake8-logging</code>] Implement <code>LOG002</code>: <code>invalid-get-logger-argument</code> by <a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7399">astral-sh/ruff#7399</a></li> <li>[<code>flake8-logging</code>] Implement <code>LOG007</code>: <code>exception-without-exc-info</code> by <a href="https://github.com/qdegraaf"><code>@qdegraaf</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7410">astral-sh/ruff#7410</a></li> <li>[<code>refurb</code>] Implement <code>FURB140</code>: <code>reimplemented-starmap</code> by <a href="https://github.com/SavchenkoValeriy"><code>@SavchenkoValeriy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7253">astral-sh/ruff#7253</a></li> <li>[<code>refurb</code>] Implement <code>FURB148</code>: <code>unnecessary-enumerate</code> by <a href="https://github.com/tjkuson"><code>@tjkuson</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7454">astral-sh/ruff#7454</a></li> <li>[<code>ruff</code>] Detect <code>asyncio.get_running_loop</code> calls in RUF006 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7562">astral-sh/ruff#7562</a></li> </ul> <h3>Settings</h3> <ul> <li>Show <code>--no-X</code> variants in CLI help by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7504">astral-sh/ruff#7504</a></li> <li>Rename <code>format</code> option to <code>output-format</code> by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7514">astral-sh/ruff#7514</a></li> <li>Enable tab completion for <code>ruff rule</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7560">astral-sh/ruff#7560</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Add padding to prevent some autofix errors by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7461">astral-sh/ruff#7461</a></li> <li>Remove parentheses when rewriting assert calls to statements by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7464">astral-sh/ruff#7464</a></li> <li>Avoid flagging starred elements in C402 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7466">astral-sh/ruff#7466</a></li> <li>Extend <code>bad-dunder-method-name</code> to permit <code>attrs</code> dunders by <a href="https://github.com/tjkuson"><code>@tjkuson</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7472">astral-sh/ruff#7472</a></li> <li>Avoid N802 violations for <a href="https://github.com/overload"><code>@overload</code></a> methods by <a href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7498">astral-sh/ruff#7498</a></li> <li>Avoid flagging starred expressions in UP007 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7505">astral-sh/ruff#7505</a></li> <li>Ensure that LOG007 only triggers on <code>.exception()</code> calls by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7524">astral-sh/ruff#7524</a></li> <li>Use strict sorted and union for NoQA mapping insertion by <a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7531">astral-sh/ruff#7531</a></li> <li>Avoid inserting imports directly after continuation by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7553">astral-sh/ruff#7553</a></li> <li>Add padding in <code>PERF102</code> fixes by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7554">astral-sh/ruff#7554</a></li> <li>Avoid invalid fix for parenthesized values in F601 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7559">astral-sh/ruff#7559</a></li> <li>Treat <code>os.error</code> as an <code>OSError</code> alias by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7582">astral-sh/ruff#7582</a></li> <li>Extend <code>bad-dunder-method-name</code> to permit <code>__html__</code> by <a href="https://github.com/jaap3"><code>@jaap3</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7492">astral-sh/ruff#7492</a></li> <li>Fix stylist indentation with a formfeed by <a href="https://github.com/konstin"><code>@konstin</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7489">astral-sh/ruff#7489</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/MicaelJarniac"><code>@MicaelJarniac</code></a> made their first contribution in <a href="https://redirect.github.com/astral-sh/ruff/pull/5498">astral-sh/ruff#5498</a></li> <li><a href="https://github.com/maheshsaripalli9"><code>@maheshsaripalli9</code></a> made their first contribution in <a href="https://redirect.github.com/astral-sh/ruff/pull/7552">astral-sh/ruff#7552</a></li> <li><a href="https://github.com/T-256"><code>@T-256</code></a> made their first contribution in <a href="https://redirect.github.com/astral-sh/ruff/pull/7585">astral-sh/ruff#7585</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/astral-sh/ruff/compare/v0.0.290...v0.0.291">https://github.com/astral-sh/ruff/compare/v0.0.290...v0.0.291</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/8bfe9bda41538e47fb9c46f190bc148b1db68515"><code>8bfe9bd</code></a> Bump version to v0.0.291 (<a href="https://redirect.github.com/astral-sh/ruff/issues/7606">#7606</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/01843af21acb00eb4b649d3e4137d20de9fecb17"><code>01843af</code></a> Support option group documentation (<a href="https://redirect.github.com/astral-sh/ruff/issues/7593">#7593</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2ecf59726f1de75b76ea7c2a84cb750432e9037d"><code>2ecf597</code></a> Refactor <code>Options</code> representation (<a href="https://redirect.github.com/astral-sh/ruff/issues/7591">#7591</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f1378195360883555da05181295a839f214da8a4"><code>f137819</code></a> Improve <code>B005</code> documentation to reflect duplicate-character behavior (<a href="https://redirect.github.com/astral-sh/ruff/issues/7601">#7601</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9d16e461293ce56d00ee943aba7266153385b9a0"><code>9d16e46</code></a> Add most formatter options to <code>ruff.toml</code> / <code>pyproject.toml</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/7566">#7566</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/82978ac9b54e16286e5b2fa60240e06ad8cc88d7"><code>82978ac</code></a> Bump indicatif from 0.17.6 to 0.17.7 (<a href="https://redirect.github.com/astral-sh/ruff/issues/7592">#7592</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/814403cdf79d1ae03393b1d8806084ac731da7c8"><code>814403c</code></a> Bump lint rules count to 700 (<a href="https://redirect.github.com/astral-sh/ruff/issues/7585">#7585</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f254aaa84714e52e3d17360772981479c8302681"><code>f254aaa</code></a> Remove unwrap in <code>os_error_alias.rs</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/7583">#7583</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a51b0b02f0184e39f275c9a6e76d821b93e26c34"><code>a51b0b0</code></a> Treat <code>os.error</code> as an <code>OSError</code> alias (<a href="https://redirect.github.com/astral-sh/ruff/issues/7582">#7582</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/74dbd871f8353d0c1c0a06e84604913292fa4819"><code>74dbd87</code></a> Make ruff format idempotent when using stdin input (<a href="https://redirect.github.com/astral-sh/ruff/issues/7581">#7581</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.0.290...v0.0.291">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.290&new-version=0.0.291)](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