Aquesta és una versió anterior. La versió actual és la 0.17.1. Ruff 0.17.1 · Data de publicació:
Fitxers d’instal·lació 0.16.1
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
| 32 bits | ZIP → Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
Released on 2026-07-30.
Preview features
- Add an option to opt out of human-readable names (#27160)
- [flake8-pytest-style] Make fixes safe by default and unsafe only when comments are present (PT018) (#27201)
- [pyupgrade] Skip fix when a defaulted `TypeVar` precedes a non-defaulted one (UP040, UP046, UP047) (#27133)
- [ruff] Fix false positive with unpacked arguments (RUF065) (#26959)
Bug fixes
- Bump `gen-lsp-types` to gracefully handle unknown enumeration values in LSP messages (#27230)
- [flake8-bugbear] Mark `range` as immutable (B008) (#27247)
- [flake8-comprehensions] NFKC-normalize keyword names in C408 fix (#26813)
- [flake8-return] Fix false positive when variable is read in `finally` clause (RET504) (#25441)
- [pydocstyle] Skip section detection inside RST directive bodies (D214, D405, D413) (#23635)
- [refurb] Parenthesize `yield` arguments in the FURB192 fix (#27192)
Rule changes
- [flake8-pytest-style] Mark PT022 fixes as unsafe (#26440)
- [refurb] Mark fixes that remove unknown separators as unsafe (FURB105) (#27200)
Server
- Fix indexing of excluded nested Ruff workspaces (#27303)
- Lint TOML files in the LSP (#26862)
Documentation
- Cover `pycon` Markdown formatting (#27153)
- [flake8-bandit] Document `TYPE_CHECKING` exception (S101) (#27004)
- [flake8-import-conventions] Document that `extend-aliases` can override default aliases (#27191)
- [pylint] Add missing fix safety gotchas for `non-augmented-assignment` (PLR6104) (#27250)
Other changes
- Reduce syntax error noise by swallowing dedents like indents (#27170)
- Vendor latest annotate-snippets (#27033)