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.15.16
| 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-06-04.
Preview features
- [flake8-async] Implement `yield-in-context-manager-in-async-generator` (ASYNC119) (#24644)
- [pylint] Narrow diagnostic range and exclude cases without exception handlers (PLW0717) (#25440)
- [ruff] Treat `yield` before `break` from a terminal loop as terminal (RUF075) (#25447)
Bug fixes
- [eradicate] Avoid flagging `ruff:ignore` comments as code (ERA001) (#25537)
- [eradicate] Fix ERA001/RUF100 conflict when `noqa` is on commented-out code (#25414)
- [pyflakes] Avoid removing the `format` call when it would change behavior (F523) (#25320)
- [pylint] Avoid syntax errors in invalid character replacements in f-strings before Python 3.12 (PLE2510, PLE2512, PLE2513, PLE2514, PLE2515) (#25544)
- [pyupgrade] Avoid converting `format` calls with more kinds of side effects (UP032) (#25484)
Rule changes
- [flake8-pytest-style] Avoid fixes for ambiguous `argnames` and `argvalues` combinations (PT006) (#24776)
Performance
- Drop excess capacity from statement suites during parsing (#25368)
Documentation
- [pydocstyle] Improve discoverability of rules enabled for each convention (#24973)
- [ruff] Restore example code for Python versions before 3.15 (RUF017) (#25439)
- Fix typo `bin/active` → `bin/activate` in tutorial (#25473)
Other changes
- Shrink additional parser AST collections (#25465)