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.5.4 to 0.5.5 (#196)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.4 to 0.5.5. <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.5.5</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>fastapi</code>] Implement <code>fastapi-redundant-response-model</code> (<code>FAST001</code>) and <code>fastapi-non-annotated-dependency</code>(<code>FAST002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11579">#11579</a>)</li> <li>[<code>pydoclint</code>] Implement <code>docstring-missing-exception</code> (<code>DOC501</code>) and <code>docstring-extraneous-exception</code> (<code>DOC502</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11471">#11471</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>numpy</code>] Fix NumPy 2.0 rule for <code>np.alltrue</code> and <code>np.sometrue</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12473">#12473</a>)</li> <li>[<code>numpy</code>] Ignore <code>NPY201</code> inside <code>except</code> blocks for compatibility with older numpy versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/12490">#12490</a>)</li> <li>[<code>pep8-naming</code>] Avoid applying <code>ignore-names</code> to <code>self</code> and <code>cls</code> function names (<code>N804</code>, <code>N805</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12497">#12497</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of leading function comment with type params (<a href="https://redirect.github.com/astral-sh/ruff/pull/12447">#12447</a>)</li> </ul> <h3>Server</h3> <ul> <li>Do not bail code action resolution when a quick fix is requested (<a href="https://redirect.github.com/astral-sh/ruff/pull/12462">#12462</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix <code>Ord</code> implementation of <code>cmp_fix</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12471">#12471</a>)</li> <li>Raise syntax error for unparenthesized generator expression in multi-argument call (<a href="https://redirect.github.com/astral-sh/ruff/pull/12445">#12445</a>)</li> <li>[<code>pydoclint</code>] Fix panic in <code>DOC501</code> reported in <a href="https://redirect.github.com/astral-sh/ruff/pull/12428">#12428</a> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12435">#12435</a>)</li> <li>[<code>flake8-bugbear</code>] Allow singleton tuples with starred expressions in <code>B013</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12484">#12484</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add Eglot setup guide for Emacs editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/12426">#12426</a>)</li> <li>Add note about the breaking change in <code>nvim-lspconfig</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12507">#12507</a>)</li> <li>Add note to include notebook files for native server (<a href="https://redirect.github.com/astral-sh/ruff/pull/12449">#12449</a>)</li> <li>Add setup docs for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/12501">#12501</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/IvanIsCoding"><code>@IvanIsCoding</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/UriyaHarpeness"><code>@UriyaHarpeness</code></a></li> <li><a href="https://github.com/augustelalande"><code>@augustelalande</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</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> <li><a href="https://github.com/foxmean"><code>@foxmean</code></a></li> <li><a href="https://github.com/mtsokol"><code>@mtsokol</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.5.5</h2> <h3>Preview features</h3> <ul> <li>[<code>fastapi</code>] Implement <code>fastapi-redundant-response-model</code> (<code>FAST001</code>) and <code>fastapi-non-annotated-dependency</code>(<code>FAST002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11579">#11579</a>)</li> <li>[<code>pydoclint</code>] Implement <code>docstring-missing-exception</code> (<code>DOC501</code>) and <code>docstring-extraneous-exception</code> (<code>DOC502</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11471">#11471</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>numpy</code>] Fix NumPy 2.0 rule for <code>np.alltrue</code> and <code>np.sometrue</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12473">#12473</a>)</li> <li>[<code>numpy</code>] Ignore <code>NPY201</code> inside <code>except</code> blocks for compatibility with older numpy versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/12490">#12490</a>)</li> <li>[<code>pep8-naming</code>] Avoid applying <code>ignore-names</code> to <code>self</code> and <code>cls</code> function names (<code>N804</code>, <code>N805</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12497">#12497</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of leading function comment with type params (<a href="https://redirect.github.com/astral-sh/ruff/pull/12447">#12447</a>)</li> </ul> <h3>Server</h3> <ul> <li>Do not bail code action resolution when a quick fix is requested (<a href="https://redirect.github.com/astral-sh/ruff/pull/12462">#12462</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix <code>Ord</code> implementation of <code>cmp_fix</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12471">#12471</a>)</li> <li>Raise syntax error for unparenthesized generator expression in multi-argument call (<a href="https://redirect.github.com/astral-sh/ruff/pull/12445">#12445</a>)</li> <li>[<code>pydoclint</code>] Fix panic in <code>DOC501</code> reported in <a href="https://redirect.github.com/astral-sh/ruff/pull/12428">#12428</a> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12435">#12435</a>)</li> <li>[<code>flake8-bugbear</code>] Allow singleton tuples with starred expressions in <code>B013</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12484">#12484</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add Eglot setup guide for Emacs editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/12426">#12426</a>)</li> <li>Add note about the breaking change in <code>nvim-lspconfig</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12507">#12507</a>)</li> <li>Add note to include notebook files for native server (<a href="https://redirect.github.com/astral-sh/ruff/pull/12449">#12449</a>)</li> <li>Add setup docs for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/12501">#12501</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/fc16d8d04d86aa94a8aac14bbb87089b64d443a1"><code>fc16d8d</code></a> Bump version to 0.5.5 (<a href="https://redirect.github.com/astral-sh/ruff/issues/12510">#12510</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/175e5d7b8840d8e05b30794cb1554c68c497129a"><code>175e5d7</code></a> Add missing traceback line in <code>f-string-in-exception</code> docstring. (<a href="https://redirect.github.com/astral-sh/ruff/issues/12508">#12508</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c03f257ed745f6606a717e09c76c7f1a56611a29"><code>c03f257</code></a> Add note about the breaking change in <code>nvim-lspconfig</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/12507">#12507</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6bbb4a28c2a51c49ded5d40f70672fcc4c6222d7"><code>6bbb4a2</code></a> Add setup docs for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/issues/12501">#12501</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2ce3e3ae60ba44700b5e98a61adc96d80b0e4bd3"><code>2ce3e3a</code></a> Fix the search path tests on MacOS (<a href="https://redirect.github.com/astral-sh/ruff/issues/12503">#12503</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2a64cccb61f1c84e5a58f907f46111ab36321466"><code>2a64ccc</code></a> Avoid applying <code>ignore-names</code> to <code>self</code> and <code>cls</code> function names (<a href="https://redirect.github.com/astral-sh/ruff/issues/12497">#12497</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/928ffd66503759679823c5f346941ef58486766e"><code>928ffd6</code></a> Ignore <code>NPY201</code> inside <code>except</code> blocks for compatibility with older numpy ver...</li> <li><a href="https://github.com/astral-sh/ruff/commit/e52be0951aad5483a0e453dded78627fc74e7e2a"><code>e52be09</code></a> [red-knot] Improve validation for search paths (<a href="https://redirect.github.com/astral-sh/ruff/issues/12376">#12376</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/889073578e12e85c83f983edfe360be9cd9e3155"><code>8890735</code></a> [flake8-bugbear] Allow singleton tuples with starred expressions in B013 (<a href="https://redirect.github.com/astral-sh/ruff/issues/12">#12</a>...</li> <li><a href="https://github.com/astral-sh/ruff/commit/eac965ecaf98832253e31e61143f7211e161c26d"><code>eac965e</code></a> [red-knot] Watch search paths (<a href="https://redirect.github.com/astral-sh/ruff/issues/12407">#12407</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.5.4...0.5.5">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.5.4&new-version=0.5.5)](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