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.2
| 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 2025-10-23.
Preview features
- [flake8-gettext] Resolve qualified names and built-in bindings (INT001, INT002, INT003) (#19045)
Bug fixes
- Avoid reusing nested, interpolated quotes before Python 3.12 (#20930)
- Catch syntax errors in nested interpolations before Python 3.12 (#20949)
- [fastapi] Handle ellipsis defaults in FAST002 autofix (#20810)
- [flake8-simplify] Skip SIM911 when unknown arguments are present (#20697)
- [pyupgrade] Always parenthesize assignment expressions in fix for `f-string` (UP032) (#21003)
- [pyupgrade] Fix UP032 conversion for decimal ints with underscores (#21022)
- [fastapi] Skip autofix for keyword and `__debug__` path params (FAST003) (#20960)
Rule changes
- [flake8-bugbear] Skip B905 and B912 for fewer than two iterables and no starred arguments (#20998)
- [ruff] Use `DiagnosticTag` for more `pyflakes` and `pandas` rules (#20801)
CLI
- Improve JSON output from `ruff rule` (#20168)
Documentation
- Add source to testimonial (#20971)
- Document when a rule was added (#21035)
Other changes
- [syntax-errors] Name is parameter and global (#20426)
- [syntax-errors] Alternative `match` patterns bind different names (#20682)