Dette er en ældre version. Den nyeste version er 0.17.1. Ruff 0.17.1 · Udgivet:
Installationsfiler 0.6.9
| Arkitektur | Type | Omfang | Filstørrelse | Download | SHA256 |
|---|---|---|---|---|---|
| 64-bit | ZIP → Portabel | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portabel | — | — | github.com | VirusTotal |
| 32-bit | ZIP → Portabel | — | — | github.com | VirusTotal |
Link og SHA256 stammer fra fællesskabets manifest i Windows Package Manager. Sammenlign hashen for den downloadede fil, før du kører den.
Udgivelsesnoter
Preview features
- Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
- [refurb] Mark FURB118 fix as unsafe (#13613)
Rule changes
- [pydocstyle] Don't raise D208 when last line is non-empty (#13372)
- [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#13573)
Configuration
- [pyflakes] Add `allow-unused-imports` setting for `unused-import` rule (F401) (#13601)
Bug fixes
- Support ruff discovery in pip build environments (#13591)
- [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#13609)
- [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#13527)
- [pyupgrade] Fix UP043 to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` (#13611)
- [refurb] Fix handling of slices in tuples for FURB118, e.g., `x[:, 1]` (#13518)
Documentation
- Update GitHub Action link to `astral-sh/ruff-action` (#13551)