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.8.2 to 0.8.3 in the development-dep…
…endencies group (#276) Bumps the development-dependencies group with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.8.2 to 0.8.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>0.8.3</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Fix fstring formatting removing overlong implicit concatenated string in expression part (<a href="https://redirect.github.com/astral-sh/ruff/pull/14811">#14811</a>)</li> <li>[<code>airflow</code>] Add fix to remove deprecated keyword arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14887">#14887</a>)</li> <li>[<code>airflow</code>]: Extend rule to include deprecated names for Airflow 3.0 (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14765">#14765</a> and <a href="https://redirect.github.com/astral-sh/ruff/pull/14804">#14804</a>)</li> <li>[<code>flake8-bugbear</code>] Improve error messages for <code>except*</code> (<code>B025</code>, <code>B029</code>, <code>B030</code>, <code>B904</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14815">#14815</a>)</li> <li>[<code>flake8-bugbear</code>] <code>itertools.batched()</code> without explicit <code>strict</code> (<code>B911</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14408">#14408</a>)</li> <li>[<code>flake8-use-pathlib</code>] Dotless suffix passed to <code>Path.with_suffix()</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14779">#14779</a>)</li> <li>[<code>pylint</code>] Include parentheses and multiple comparators in check for <code>boolean-chained-comparison</code> (<code>PLR1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14781">#14781</a>)</li> <li>[<code>ruff</code>] Do not simplify <code>round()</code> calls (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14832">#14832</a>)</li> <li>[<code>ruff</code>] Don't emit <code>used-dummy-variable</code> on function parameters (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14818">#14818</a>)</li> <li>[<code>ruff</code>] Implement <code>if-key-in-dict-del</code> (<code>RUF051</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14553">#14553</a>)</li> <li>[<code>ruff</code>] Mark autofix for <code>RUF052</code> as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/14824">#14824</a>)</li> <li>[<code>ruff</code>] Teach autofix for <code>used-dummy-variable</code> about TypeVars etc. (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14819">#14819</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Offer unsafe autofix for <code>no-explicit-stacklevel</code> (<code>B028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14829">#14829</a>)</li> <li>[<code>flake8-pyi</code>] Skip all type definitions in <code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14797">#14797</a>)</li> <li>[<code>pyupgrade</code>] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (<code>UP009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14728">#14728</a>)</li> <li>[<code>pyupgrade</code>] Mark fixes for <code>convert-typed-dict-functional-to-class</code> and <code>convert-named-tuple-functional-to-class</code> as unsafe if they will remove comments (<code>UP013</code>, <code>UP014</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14842">#14842</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Raise syntax error for mixing <code>except</code> and <code>except*</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14895">#14895</a>)</li> <li>[<code>flake8-bugbear</code>] Fix <code>B028</code> to allow <code>stacklevel</code> to be explicitly assigned as a positional argument (<a href="https://redirect.github.com/astral-sh/ruff/pull/14868">#14868</a>)</li> <li>[<code>flake8-bugbear</code>] Skip <code>B028</code> if <code>warnings.warn</code> is called with <code>*args</code> or <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14870">#14870</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip iterables with named expressions in <code>unnecessary-map</code> (<code>C417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14827">#14827</a>)</li> <li>[<code>flake8-pyi</code>] Also remove <code>self</code> and <code>cls</code>'s annotation (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14801">#14801</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest-parametrize-names-wrong-type</code> (<code>PT006</code>) to edit both <code>argnames</code> and <code>argvalues</code> if both of them are single-element tuples/lists (<a href="https://redirect.github.com/astral-sh/ruff/pull/14699">#14699</a>)</li> <li>[<code>perflint</code>] Improve autofix for <code>PERF401</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14369">#14369</a>)</li> <li>[<code>pylint</code>] Fix <code>PLW1508</code> false positive for default string created via a mult operation (<a href="https://redirect.github.com/astral-sh/ruff/pull/14841">#14841</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/BurntSushi"><code>@BurntSushi</code></a></li> <li><a href="https://github.com/DimitriPapadopoulos"><code>@DimitriPapadopoulos</code></a></li> <li><a href="https://github.com/Glyphack"><code>@Glyphack</code></a></li> <li><a href="https://github.com/InSyncWithFoo"><code>@InSyncWithFoo</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/UnknownPlatypus"><code>@UnknownPlatypus</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/cclauss"><code>@cclauss</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.8.3</h2> <h3>Preview features</h3> <ul> <li>Fix fstring formatting removing overlong implicit concatenated string in expression part (<a href="https://redirect.github.com/astral-sh/ruff/pull/14811">#14811</a>)</li> <li>[<code>airflow</code>] Add fix to remove deprecated keyword arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14887">#14887</a>)</li> <li>[<code>airflow</code>]: Extend rule to include deprecated names for Airflow 3.0 (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14765">#14765</a> and <a href="https://redirect.github.com/astral-sh/ruff/pull/14804">#14804</a>)</li> <li>[<code>flake8-bugbear</code>] Improve error messages for <code>except*</code> (<code>B025</code>, <code>B029</code>, <code>B030</code>, <code>B904</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14815">#14815</a>)</li> <li>[<code>flake8-bugbear</code>] <code>itertools.batched()</code> without explicit <code>strict</code> (<code>B911</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14408">#14408</a>)</li> <li>[<code>flake8-use-pathlib</code>] Dotless suffix passed to <code>Path.with_suffix()</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14779">#14779</a>)</li> <li>[<code>pylint</code>] Include parentheses and multiple comparators in check for <code>boolean-chained-comparison</code> (<code>PLR1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14781">#14781</a>)</li> <li>[<code>ruff</code>] Do not simplify <code>round()</code> calls (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14832">#14832</a>)</li> <li>[<code>ruff</code>] Don't emit <code>used-dummy-variable</code> on function parameters (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14818">#14818</a>)</li> <li>[<code>ruff</code>] Implement <code>if-key-in-dict-del</code> (<code>RUF051</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14553">#14553</a>)</li> <li>[<code>ruff</code>] Mark autofix for <code>RUF052</code> as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/14824">#14824</a>)</li> <li>[<code>ruff</code>] Teach autofix for <code>used-dummy-variable</code> about TypeVars etc. (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14819">#14819</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Offer unsafe autofix for <code>no-explicit-stacklevel</code> (<code>B028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14829">#14829</a>)</li> <li>[<code>flake8-pyi</code>] Skip all type definitions in <code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14797">#14797</a>)</li> <li>[<code>pyupgrade</code>] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (<code>UP009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14728">#14728</a>)</li> <li>[<code>pyupgrade</code>] Mark fixes for <code>convert-typed-dict-functional-to-class</code> and <code>convert-named-tuple-functional-to-class</code> as unsafe if they will remove comments (<code>UP013</code>, <code>UP014</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14842">#14842</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Raise syntax error for mixing <code>except</code> and <code>except*</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14895">#14895</a>)</li> <li>[<code>flake8-bugbear</code>] Fix <code>B028</code> to allow <code>stacklevel</code> to be explicitly assigned as a positional argument (<a href="https://redirect.github.com/astral-sh/ruff/pull/14868">#14868</a>)</li> <li>[<code>flake8-bugbear</code>] Skip <code>B028</code> if <code>warnings.warn</code> is called with <code>*args</code> or <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14870">#14870</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip iterables with named expressions in <code>unnecessary-map</code> (<code>C417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14827">#14827</a>)</li> <li>[<code>flake8-pyi</code>] Also remove <code>self</code> and <code>cls</code>'s annotation (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14801">#14801</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest-parametrize-names-wrong-type</code> (<code>PT006</code>) to edit both <code>argnames</code> and <code>argvalues</code> if both of them are single-element tuples/lists (<a href="https://redirect.github.com/astral-sh/ruff/pull/14699">#14699</a>)</li> <li>[<code>perflint</code>] Improve autofix for <code>PERF401</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14369">#14369</a>)</li> <li>[<code>pylint</code>] Fix <code>PLW1508</code> false positive for default string created via a mult operation (<a href="https://redirect.github.com/astral-sh/ruff/pull/14841">#14841</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/53f2d72e022ad5ae7cfcf511318788fed959fe0b"><code>53f2d72</code></a> Revert certain double quotes from workflow shell script (<a href="https://redirect.github.com/astral-sh/ruff/issues/14939">#14939</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/3629cbf35a7bd6c229a7890ece9466b68dd75b01"><code>3629cbf</code></a> Use double quotes consistently for shell scripts (<a href="https://redirect.github.com/astral-sh/ruff/issues/14938">#14938</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/37f433814c41e05860c2284ed359404318466929"><code>37f4338</code></a> Bump version to 0.8.3 (<a href="https://redirect.github.com/astral-sh/ruff/issues/14937">#14937</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/45b565cbb5b21e16ef58d1c649f7bb1f96cbad24"><code>45b565c</code></a> [red-knot] <code>Any</code> cannot be parameterized (<a href="https://redirect.github.com/astral-sh/ruff/issues/14933">#14933</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/82faa9bb62e66a562f8a7ad81a645162ca558a08"><code>82faa9b</code></a> Add tests demonstrating f-strings with debug expressions in replacements that...</li> <li><a href="https://github.com/astral-sh/ruff/commit/2eac00c60fd11409947679781f1d1db563f0d5d5"><code>2eac00c</code></a> [<code>perflint</code>] fix invalid hoist in <code>perf401</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/14369">#14369</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/033ecf5a4bce28abdcaeee7a18c4ededd2390d27"><code>033ecf5</code></a> Also have zizmor check for low-severity security issues (<a href="https://redirect.github.com/astral-sh/ruff/issues/14893">#14893</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5509a3d7ae723b3af61a4daccd7e45f7d1ea40b7"><code>5509a3d</code></a> Add LSP settings example for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/issues/14894">#14894</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e4885a2fb2b0b1fa340f4c5af076184f86481e46"><code>e4885a2</code></a> [red-knot] Understand <code>typing.Tuple</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/14927">#14927</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a7e5e42b883efda19979ed6e8be137cb5b9612a3"><code>a7e5e42</code></a> [red-knot] Make <code>attributes.md</code> test future-proof (<a href="https://redirect.github.com/astral-sh/ruff/issues/14923">#14923</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.8.2...0.8.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.8.2&new-version=0.8.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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information