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.12.12
| 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
Preview features
- Show fixes by default (#19919)
- [airflow] Convert `DatasetOrTimeSchedule(datasets=...)` to `AssetOrTimeSchedule(assets=...)` (AIR311) (#20202)
- [airflow] Improve the AIR002 error message (#20173)
- [airflow] Move `airflow.operators.postgres_operator.Mapping` from AIR302 to AIR301 (#20172)
- [flake8-async] Implement `blocking-input` rule (ASYNC250) (#20122)
- [flake8-use-pathlib] Make PTH119 and PTH120 fixes unsafe because they can change behavior (#20118)
- [pylint] Add U+061C to PLE2502 (#20106)
- [ruff] Fix false negative for empty f-strings in `deque` calls (RUF037) (#20109)
Bug fixes
- Less confidently mark f-strings as empty when inferring truthiness (#20152)
- [fastapi] Fix false positive for paths with spaces around parameters (FAST003) (#20077)
- [flake8-comprehensions] Skip C417 when lambda contains `yield`/`yield from` (#20201)
- [perflint] Handle tuples in dictionary comprehensions (PERF403) (#19934)
Rule changes
- [pycodestyle] Preserve return type annotation for `ParamSpec` (E731) (#20108)
Documentation
- Add fix safety sections to docs (#17490,#17499)