poetry-types
poetry-types copied to clipboard
Bump ruff from 0.4.2 to 0.4.5
Bumps ruff from 0.4.2 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.5
marks the official Beta release ofruff server
, an integrated language server built into Ruff.ruff server
supports 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 server
in 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 forE27
rules (#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
noqa
comment code actions (#11276)- Fix automatic configuration reloading (#11492)
- Fix several issues with configuration in Neovim and Helix (#11497)
CLI
- Add
--output-format
as a CLI option forruff config
(#11438)Bug fixes
- Avoid
PLE0237
for property with setter (#11377)- Avoid
TCH005
forif
stmt withelif
/else
block (#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
] Removetry
body from branch counting (#11487)- [
refurb
] Respect operator precedence inFURB110
(#11464)Documentation
- Add
--preview
to the README (#11395)
... (truncated)
Changelog
Sourced from ruff's changelog.
0.4.5
Ruff's language server is now in Beta
v0.4.5
marks the official Beta release ofruff server
, an integrated language server built into Ruff.ruff server
supports 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 server
in 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 forE27
rules (#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
noqa
comment code actions (#11276)- Fix automatic configuration reloading (#11492)
- Fix several issues with configuration in Neovim and Helix (#11497)
CLI
- Add
--output-format
as a CLI option forruff config
(#11438)Bug fixes
- Avoid
PLE0237
for property with setter (#11377)- Avoid
TCH005
forif
stmt withelif
/else
block (#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
] Removetry
body from branch counting (#11487)- [
refurb
] Respect operator precedence inFURB110
(#11464)Documentation
... (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)- 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 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)