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.5
| 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-11-13.
Preview features
- [flake8-simplify] Apply SIM113 when index variable is of type `int` (#21395)
- [pydoclint] Fix false positive when Sphinx directives follow a "Raises" section (DOC502) (#20535)
- [pydoclint] Support NumPy-style comma-separated parameters (DOC102) (#20972)
- [refurb] Auto-fix annotated assignments (FURB101) (#21278)
- [ruff] Ignore `str()` when not used for simple conversion (RUF065) (#21330)
Bug fixes
- Fix syntax error false positive on alternative `match` patterns (#21362)
- [flake8-simplify] Fix false positive for iterable initializers with generator arguments (SIM222) (#21187)
- [pyupgrade] Fix false positive on relative imports from local `.builtins` module (UP029) (#21309)
- [pyupgrade] Consistently set the deprecated tag (UP035) (#21396)
Rule changes
- [refurb] Detect empty f-strings (FURB105) (#21348)
CLI
- Add option to provide a reason to `--add-noqa` (#21294)
- Add upstream linter URL to `ruff linter --output-format=json` (#21316)
- Add color to `--help` (#21337)
Documentation
- Add a new "Opening a PR" section to the contribution guide (#21298)
- Added the PyScripter IDE to the list of "Who is using Ruff?" (#21402)
- Update PyCharm setup instructions (#21409)
- [flake8-annotations] Add link to `allow-star-arg-any` option (ANN401) (#21326)
Other changes
- [configuration] Improve error message when `line-length` exceeds `u16::MAX` (#21329)