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.3
| 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-08-13.
Preview features
- [pylint] Fix false negatives on negative numbers (PLR6104) (#27251)
- [pyupgrade] Add rule to replace `while 1` with `while True` (UP048) (#27190)
Bug fixes
- [flake8-bandit] Also check keyword arguments (S602, S603, S607, S609) (#27687)
- [pylint] Allow `continue` in `finally` on Python 3.8 (#27626)
- [pylint] Fix PLE1307 false positive with bools (#27651)
- [pylint] Fix false positives and negatives with `%b` format character (PLE1300, PLE1307) (#27560)
- [pylint] Improve handling of concatenated strings (PLE1300) (#27659)
Rule changes
- [numpy] Make `np.chararray` autofix backwards-compatible (NPY201) (#27527)
Performance
- Enable PGO for Linux x86-64 Ruff releases (#27570)
- Enable PGO for Linux ARM64 Ruff releases (#27574)
- Enable PGO for Windows x86-64 Ruff releases (#27573)
- Enable PGO for macOS ARM64 Ruff releases (#27572)
- Reduce `Expr` size to 64 bytes (#27591)
CLI
- Hyperlink rule codes in `ruff check --statistics` output (#27646)
Documentation
- [ruff] Also suggest `asyncio.TaskGroup` (RUF006) (#27461)
Other changes
- Use mimalloc v3 (#27586)