v0.4.5
版本发布时间: 2024-05-23 10:14:31
astral-sh/ruff最新发布版本:0.5.3(2024-07-19 01:10:02)
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) - [
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) - 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 forE713
andE714
(#11483) - [
pyflakes
] Update docs to describe WAI behavior (F541) (#11362) - [
pylint
] Clearly indicate what is counted as a branch (#11423)
Contributors
1、 ruff-0.4.5-aarch64-apple-darwin.tar.gz 7.76MB
2、 ruff-0.4.5-aarch64-apple-darwin.tar.gz.sha256 105B
3、 ruff-0.4.5-aarch64-pc-windows-msvc.zip 7.33MB
4、 ruff-0.4.5-aarch64-pc-windows-msvc.zip.sha256 105B
5、 ruff-0.4.5-aarch64-unknown-linux-gnu.tar.gz 7.81MB
6、 ruff-0.4.5-aarch64-unknown-linux-gnu.tar.gz.sha256 110B
7、 ruff-0.4.5-aarch64-unknown-linux-musl.tar.gz 7.73MB
8、 ruff-0.4.5-aarch64-unknown-linux-musl.tar.gz.sha256 111B
9、 ruff-0.4.5-armv7-unknown-linux-gnueabihf.tar.gz 7.22MB
10、 ruff-0.4.5-armv7-unknown-linux-gnueabihf.tar.gz.sha256 114B
11、 ruff-0.4.5-armv7-unknown-linux-musleabihf.tar.gz 7.22MB
12、 ruff-0.4.5-armv7-unknown-linux-musleabihf.tar.gz.sha256 115B
13、 ruff-0.4.5-i686-pc-windows-msvc.zip 7.16MB
14、 ruff-0.4.5-i686-pc-windows-msvc.zip.sha256 102B
15、 ruff-0.4.5-i686-unknown-linux-gnu.tar.gz 8.36MB
16、 ruff-0.4.5-i686-unknown-linux-gnu.tar.gz.sha256 107B
17、 ruff-0.4.5-i686-unknown-linux-musl.tar.gz 7.96MB
18、 ruff-0.4.5-i686-unknown-linux-musl.tar.gz.sha256 108B
19、 ruff-0.4.5-powerpc64-unknown-linux-gnu.tar.gz 9.04MB
20、 ruff-0.4.5-powerpc64-unknown-linux-gnu.tar.gz.sha256 112B
21、 ruff-0.4.5-powerpc64le-unknown-linux-gnu.tar.gz 8.67MB
22、 ruff-0.4.5-powerpc64le-unknown-linux-gnu.tar.gz.sha256 114B
23、 ruff-0.4.5-s390x-unknown-linux-gnu.tar.gz 9.7MB
24、 ruff-0.4.5-s390x-unknown-linux-gnu.tar.gz.sha256 108B
25、 ruff-0.4.5-x86_64-apple-darwin.tar.gz 8.13MB
26、 ruff-0.4.5-x86_64-apple-darwin.tar.gz.sha256 104B
27、 ruff-0.4.5-x86_64-pc-windows-msvc.zip 7.88MB
28、 ruff-0.4.5-x86_64-pc-windows-msvc.zip.sha256 104B
29、 ruff-0.4.5-x86_64-unknown-linux-gnu.tar.gz 8.4MB
30、 ruff-0.4.5-x86_64-unknown-linux-gnu.tar.gz.sha256 109B
31、 ruff-0.4.5-x86_64-unknown-linux-musl.tar.gz 8.45MB