-
Notifications
You must be signed in to change notification settings - Fork 4k
Python: Bump ruff from 0.4.4 to 0.4.5 in /python #6417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.4 to 0.4.5. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.4.4...v0.4.5) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
eavanvalkenburg
approved these changes
May 28, 2024
moonbox3
approved these changes
May 28, 2024
LudoCorporateShark
pushed a commit
to LudoCorporateShark/semantic-kernel
that referenced
this pull request
Aug 25, 2024
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 /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file. Used by Dependabot.
python
Pull requests for the Python Semantic Kernel
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps ruff from 0.4.4 to 0.4.5.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
550aa87
Bump version tov0.4.5
(#11502)3c22a3b
Minor edits toruff server
docs (#11500)6263923
Update documentation forruff server
with new migration guide (#11499)94abea4
ruff server
: Fix multiple issues with Neovim and Helix (#11497)519a650
Mark quotes as unnecessary for non-evaluated annotations (#11485)573facd
Fix automatic configuration reloading for text and notebook documents (#11492)3cb2e67
ruff.applyFormat
now formats an entire notebook document (#11493)f0046ab
Movehas_comments
toCommentRanges
(#11495)5bb9720
Avoid multiline quotes warning withquote-style = preserve
(#11490)9ff18bf
Simplify Neovim docs for the LSP setup (#11489)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 commands and options
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)