Esta es una versión anterior. La versión actual es 0.17.1. Ruff 0.17.1 · Fecha de publicación:
Archivos de instalación 0.14.5
| Arquitectura | Tipo | Ámbito | Tamaño del archivo | Descargar | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
| 32 bits | ZIP → Portable | — | — | github.com | VirusTotal |
El enlace y el SHA256 proceden del manifiesto comunitario del Administrador de paquetes de Windows. Conviene comparar el hash del archivo descargado antes de ejecutarlo.
Notas de la versión
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)