Skip to content

Commit

Permalink
chore(deps-dev): bump ruff from 0.5.4 to 0.5.5 (#502)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kai687 committed Jul 29, 2024
2 parents 219fd2b + aabb6a5 commit faec5df
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pre-commit = [
{ version = "^3.5", python = ">=3.8,<3.9"},
{ version = "^3.6", python = ">=3.9,<=3.12"},
]
ruff = ">=0.5.1,<0.5.5"
ruff = ">=0.5.1,<0.5.6"

[tool.coverage.paths]
source = ["src"]
Expand Down

0 comments on commit faec5df

Please sign in to comment.