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.14.14
| 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-01-22.
Preview features
- Preserve required parentheses in lambda bodies (#22747)
- Combine range suppression code diagnostics (#22613)
- [airflow] Second positional argument to `Asset`/`Dataset` should not be a dictionary (AIR303) (#22453)
- [ruff] Detect duplicate entries in `__all__` (RUF068) (#22114)
Bug fixes
- [pyupgrade] Allow shadowing non-builtin bindings (UP029) (#22749)
- [pyupgrade] Apply UP045 to string arguments of `typing.cast` (#22320)
- [flake8-pie] Detect duplicated declared class fields in PIE794 (#22717)
Rule changes
- [flake8-pyi] Fix inconsistent handling of forward references for `__new__`, `__enter__`, `__aenter__` in PYI034 (#22798)
- [flake8-pytest-style] Support `check` parameter in PT011 (#22725)
- [ruff] Add exception for `ctypes.Structure._fields_` (RUF012) (#22559)
- Many fixes are now marked unsafe if they would remove comments:
- [flake8-bugbear] B009, B010, B013, B014, B033
- [flake8-simplify] SIM910, SIM911
- [pyupgrade] UP007, UP039, UP041, UP045
- [refurb] FURB105, FURB116, FURB136, FURB140, FURB145, FURB154, FURB157, FURB164,FURB181, FURB188
- [ruff] RUF019, RUF020
Documentation
- Add `--exit-non-zero-on-format` to formatter exit codes section (#22761)
- Update contributing guide for adding a new rule (#22779)
- [FastAPI] Document fix safety for FAST001 (#22655)
- [flake8-async] Tweak explanation to focus on latency/efficiency tradeoff (ASYNC110) (#22715)
- [pandas-vet] Make example error out-of-the-box (PD002) (#22561)
- [refurb] Make the example work out of box (FURB101) (#22770)
- [refurb] Make the example work out of box (FURB103) (#22769)