python
python copied to clipboard
Bump ruff from 0.4.3 to 0.4.5
Bumps ruff from 0.4.3 to 0.4.5.
Release notes
Sourced from ruff's releases.
v0.4.5
Changes
Ruff's language server is now in Beta
v0.4.5marks the official Beta release ofruff server, an integrated language server built into Ruff.ruff serversupports the same feature set asruff-lsp, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!You can enable
ruff serverin the VS Code extension today.To read more about this exciting milestone, check out our blog post!
Rule changes
- [
flake8-future-annotations] Rewordfuture-rewritable-type-annotation(FA100) message (#11381)- [
pycodestyle] Consider soft keywords forE27rules (#11446)- [
pyflakes] Recommend adding unused import bindings to__all__(#11314)- [
pyflakes] Update documentation and deprecateignore_init_module_imports(#11436)- [
pyupgrade] Mark quotes as unnecessary for non-evaluated annotations (#11485)Formatter
- Avoid multiline quotes warning with
quote-style = preserve(#11490)Server
- Support Jupyter Notebook files (#11206)
- Support
noqacomment code actions (#11276)- Fix automatic configuration reloading (#11492)
- Fix several issues with configuration in Neovim and Helix (#11497)
CLI
- Add
--output-formatas a CLI option forruff config(#11438)Bug fixes
- Avoid
PLE0237for property with setter (#11377)- Avoid
TCH005forifstmt withelif/elseblock (#11376)- Avoid flagging
__future__annotations as required for non-evaluated type annotations (#11414)- Check for ruff executable in 'bin' directory as installed by 'pip install --target'. (#11450)
- Sort edits prior to deduplicating in quotation fix (#11452)
- Treat escaped newline as valid sequence (#11465)
- [
flake8-pie] Preserve parentheses inunnecessary-dict-kwargs(#11372)- [
pylint] Ignore__slots__with dynamic values (#11488)- [
pylint] Removetrybody from branch counting (#11487)- [
refurb] Respect operator precedence inFURB110(#11464)Documentation
- Add
--previewto the README (#11395)
... (truncated)
Changelog
Sourced from ruff's changelog.
0.4.5
Ruff's language server is now in Beta
v0.4.5marks the official Beta release ofruff server, an integrated language server built into Ruff.ruff serversupports the same feature set asruff-lsp, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!You can enable
ruff serverin the VS Code extension today.To read more about this exciting milestone, check out our blog post!
Rule changes
- [
flake8-future-annotations] Rewordfuture-rewritable-type-annotation(FA100) message (#11381)- [
pycodestyle] Consider soft keywords forE27rules (#11446)- [
pyflakes] Recommend adding unused import bindings to__all__(#11314)- [
pyflakes] Update documentation and deprecateignore_init_module_imports(#11436)- [
pyupgrade] Mark quotes as unnecessary for non-evaluated annotations (#11485)Formatter
- Avoid multiline quotes warning with
quote-style = preserve(#11490)Server
- Support Jupyter Notebook files (#11206)
- Support
noqacomment code actions (#11276)- Fix automatic configuration reloading (#11492)
- Fix several issues with configuration in Neovim and Helix (#11497)
CLI
- Add
--output-formatas a CLI option forruff config(#11438)Bug fixes
- Avoid
PLE0237for property with setter (#11377)- Avoid
TCH005forifstmt withelif/elseblock (#11376)- Avoid flagging
__future__annotations as required for non-evaluated type annotations (#11414)- Check for ruff executable in 'bin' directory as installed by 'pip install --target'. (#11450)
- Sort edits prior to deduplicating in quotation fix (#11452)
- Treat escaped newline as valid sequence (#11465)
- [
flake8-pie] Preserve parentheses inunnecessary-dict-kwargs(#11372)- [
pylint] Ignore__slots__with dynamic values (#11488)- [
pylint] Removetrybody from branch counting (#11487)- [
refurb] Respect operator precedence inFURB110(#11464)Documentation
... (truncated)
Commits
550aa87Bump version tov0.4.5(#11502)3c22a3bMinor edits toruff serverdocs (#11500)6263923Update documentation forruff serverwith new migration guide (#11499)94abea4ruff server: Fix multiple issues with Neovim and Helix (#11497)519a650Mark quotes as unnecessary for non-evaluated annotations (#11485)573facdFix automatic configuration reloading for text and notebook documents (#11492)3cb2e67ruff.applyFormatnow formats an entire notebook document (#11493)f0046abMovehas_commentstoCommentRanges(#11495)5bb9720Avoid multiline quotes warning withquote-style = preserve(#11490)9ff18bfSimplify Neovim docs for the LSP setup (#11489)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)