Repository navigation
v0.4.5
·
11184 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Changes
Ruff's language server is now in Beta
v0.4.5 marks the official Beta release of ruff server, an integrated language server built into Ruff. ruff server supports the same feature set as ruff-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) - [
isort] Expanded the set of standard-library modules to include_string, etc. (#11374) - [
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) - Add Python 3.13 to list of allowed Python versions (#11411)
- Simplify Neovim setup documentation (#11489)
- Update CONTRIBUTING.md to reflect the new parser (#11434)
- Update server documentation with new migration guide (#11499)
- [
pycodestyle] Clarify motivation forE713andE714(#11483) - [
pyflakes] Update docs to describe WAI behavior (F541) (#11362) - [
pylint] Clearly indicate what is counted as a branch (#11423)