Skip to content

Commit

Permalink
Bump ruff from 0.4.4 to 0.4.5 (#104)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.4 to 0.4.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>v0.4.5</h2>
<h2>Changes</h2>
<h3>Ruff's language server is now in Beta</h3>
<p><code>v0.4.5</code> marks the official Beta release of <code>ruff
server</code>, an integrated language server built into Ruff. <code>ruff
server</code> supports the same feature set as <code>ruff-lsp</code>,
powering linting, formatting, and code fixes in Ruff's editor
integrations -- but with superior performance and no installation
required. We'd love your feedback!</p>
<p>You can enable <code>ruff server</code> in the <a
href="https://github.com/astral-sh/ruff-vscode?tab=readme-ov-file#enabling-the-rust-based-language-server">VS
Code extension</a> today.</p>
<p>To read more about this exciting milestone, check out our <a
href="https://astral.sh/blog/ruff-v0.4.5">blog post</a>!</p>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-future-annotations</code>] Reword
<code>future-rewritable-type-annotation</code> (<code>FA100</code>)
message (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11381">#11381</a>)</li>
<li>[<code>pycodestyle</code>] Consider soft keywords for
<code>E27</code> rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11446">#11446</a>)</li>
<li>[<code>pyflakes</code>] Recommend adding unused import bindings to
<code>__all__</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11314">#11314</a>)</li>
<li>[<code>pyflakes</code>] Update documentation and deprecate
<code>ignore_init_module_imports</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11436">#11436</a>)</li>
<li>[<code>pyupgrade</code>] Mark quotes as unnecessary for
non-evaluated annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11485">#11485</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Avoid multiline quotes warning with <code>quote-style =
preserve</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11490">#11490</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Support Jupyter Notebook files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11206">#11206</a>)</li>
<li>Support <code>noqa</code> comment code actions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11276">#11276</a>)</li>
<li>Fix automatic configuration reloading (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11492">#11492</a>)</li>
<li>Fix several issues with configuration in Neovim and Helix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11497">#11497</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add <code>--output-format</code> as a CLI option for <code>ruff
config</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11438">#11438</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid <code>PLE0237</code> for property with setter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11377">#11377</a>)</li>
<li>Avoid <code>TCH005</code> for <code>if</code> stmt with
<code>elif</code>/<code>else</code> block (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11376">#11376</a>)</li>
<li>Avoid flagging <code>__future__</code> annotations as required for
non-evaluated type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11414">#11414</a>)</li>
<li>Check for ruff executable in 'bin' directory as installed by 'pip
install --target'. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11450">#11450</a>)</li>
<li>Sort edits prior to deduplicating in quotation fix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11452">#11452</a>)</li>
<li>Treat escaped newline as valid sequence (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11465">#11465</a>)</li>
<li>[<code>flake8-pie</code>] Preserve parentheses in
<code>unnecessary-dict-kwargs</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11372">#11372</a>)</li>
<li>[<code>pylint</code>] Ignore <code>__slots__</code> with dynamic
values (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11488">#11488</a>)</li>
<li>[<code>pylint</code>] Remove <code>try</code> body from branch
counting (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11487">#11487</a>)</li>
<li>[<code>refurb</code>] Respect operator precedence in
<code>FURB110</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11464">#11464</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add <code>--preview</code> to the README (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11395">#11395</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.4.5</h2>
<h3>Ruff's language server is now in Beta</h3>
<p><code>v0.4.5</code> marks the official Beta release of <code>ruff
server</code>, an integrated language server built into Ruff.
<code>ruff server</code> supports the same feature set as
<code>ruff-lsp</code>, powering linting, formatting, and
code fixes in Ruff's editor integrations -- but with superior
performance and
no installation required. We'd love your feedback!</p>
<p>You can enable <code>ruff server</code> in the <a
href="https://github.com/astral-sh/ruff-vscode?tab=readme-ov-file#enabling-the-rust-based-language-server">VS
Code extension</a> today.</p>
<p>To read more about this exciting milestone, check out our <a
href="https://astral.sh/blog/ruff-v0.4.5">blog post</a>!</p>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-future-annotations</code>] Reword
<code>future-rewritable-type-annotation</code> (<code>FA100</code>)
message (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11381">#11381</a>)</li>
<li>[<code>pycodestyle</code>] Consider soft keywords for
<code>E27</code> rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11446">#11446</a>)</li>
<li>[<code>pyflakes</code>] Recommend adding unused import bindings to
<code>__all__</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11314">#11314</a>)</li>
<li>[<code>pyflakes</code>] Update documentation and deprecate
<code>ignore_init_module_imports</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11436">#11436</a>)</li>
<li>[<code>pyupgrade</code>] Mark quotes as unnecessary for
non-evaluated annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11485">#11485</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Avoid multiline quotes warning with <code>quote-style =
preserve</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11490">#11490</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Support Jupyter Notebook files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11206">#11206</a>)</li>
<li>Support <code>noqa</code> comment code actions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11276">#11276</a>)</li>
<li>Fix automatic configuration reloading (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11492">#11492</a>)</li>
<li>Fix several issues with configuration in Neovim and Helix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11497">#11497</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add <code>--output-format</code> as a CLI option for <code>ruff
config</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11438">#11438</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid <code>PLE0237</code> for property with setter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11377">#11377</a>)</li>
<li>Avoid <code>TCH005</code> for <code>if</code> stmt with
<code>elif</code>/<code>else</code> block (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11376">#11376</a>)</li>
<li>Avoid flagging <code>__future__</code> annotations as required for
non-evaluated type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11414">#11414</a>)</li>
<li>Check for ruff executable in 'bin' directory as installed by 'pip
install --target'. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11450">#11450</a>)</li>
<li>Sort edits prior to deduplicating in quotation fix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11452">#11452</a>)</li>
<li>Treat escaped newline as valid sequence (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11465">#11465</a>)</li>
<li>[<code>flake8-pie</code>] Preserve parentheses in
<code>unnecessary-dict-kwargs</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11372">#11372</a>)</li>
<li>[<code>pylint</code>] Ignore <code>__slots__</code> with dynamic
values (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11488">#11488</a>)</li>
<li>[<code>pylint</code>] Remove <code>try</code> body from branch
counting (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11487">#11487</a>)</li>
<li>[<code>refurb</code>] Respect operator precedence in
<code>FURB110</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11464">#11464</a>)</li>
</ul>
<h3>Documentation</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/550aa871d32b53a2f042fb0e7fea1080eadfa11d"><code>550aa87</code></a>
Bump version to <code>v0.4.5</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11502">#11502</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3c22a3bdccf703e42fc2778db5857bb688422c8c"><code>3c22a3b</code></a>
Minor edits to <code>ruff server</code> docs (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11500">#11500</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/6263923915b5678fd496f7646ef8d2eca9b23607"><code>6263923</code></a>
Update documentation for <code>ruff server</code> with new migration
guide (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11499">#11499</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/94abea4b0822f99f97e01d9adadddc82acd8d8b8"><code>94abea4</code></a>
<code>ruff server</code>: Fix multiple issues with Neovim and Helix (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11497">#11497</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/519a65007fe2ff714103fb023aacb49a71551a7f"><code>519a650</code></a>
Mark quotes as unnecessary for non-evaluated annotations (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11485">#11485</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/573facd2bad5d43abed7c9da903f9cf243d29d58"><code>573facd</code></a>
Fix automatic configuration reloading for text and notebook documents
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/11492">#11492</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3cb2e677aa0b88075f248ea44c5d2e844b82a0a7"><code>3cb2e67</code></a>
<code>ruff.applyFormat</code> now formats an entire notebook document
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/11493">#11493</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f0046ab28e67c5d6b3ce5951817f715333b4538d"><code>f0046ab</code></a>
Move <code>has_comments</code> to <code>CommentRanges</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11495">#11495</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5bb9720a10618ed9cecc401df231e360710780ee"><code>5bb9720</code></a>
Avoid multiline quotes warning with <code>quote-style = preserve</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/11490">#11490</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9ff18bf9d34846e2b6182d72609ba32131e2b356"><code>9ff18bf</code></a>
Simplify Neovim docs for the LSP setup (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11489">#11489</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.4.4...v0.4.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.4.4&new-version=0.4.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
dependabot[bot] authored May 28, 2024
1 parent a486f06 commit 0179fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test = [
lint = [
"black==24.4.2",
"pre-commit==3.7.1",
"ruff==0.4.4",
"ruff==0.4.5",
]
docs = [
"pydoc-markdown",
Expand Down

0 comments on commit 0179fe4

Please sign in to comment.