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.15
| 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-05-28.
Preview features
- Fix Markdown closing fence handling (#25310)
- [pyflakes] Report duplicate imports in `typing.TYPE_CHECKING` block (F811) (#22560)
Bug fixes
- [pyflakes] Treat function-scope bare annotations as locals per PEP 526 (F821) (#21540)
Performance
- Avoid redundant `TokenValue` drops in the lexer (#25300)
- Reduce memory usage by dropping token-excess capacity and improve performance by approximating the initial tokens `Vec` size (#25354)
- Use `ThinVec` in AST to shrink `Stmt` (#25361)
Documentation
- Fix `line-length` example for `--config` option (#25389)
- [flake8-comprehensions] Document `RecursionError` edge case in `__len__` (C416) (#25286)
- [mccabe] Improve example (C901) (#25287)
- [pyupgrade] Clarify fix safety docs (UP007, UP045) (#25288)
- [refurb] Document FURB192 exception change for empty sequences (#25317)
- [ruff] Document false negative for user-defined types (RUF013) (#25289)
Formatter
- Fix formatting of lambdas nested within f-strings (#25398)
Server
- Return code action for `codeAction/resolve` requests that contain no or no valid URL (#25365)
Other changes
- Expand semantic syntax errors for invalid walruses (#25415)