Dies ist eine ältere Version. Aktuell ist Version 0.17.1. Ruff 0.17.1 · Veröffentlicht:
Installationsdateien 0.12.12
| Architektur | Typ | Bereich | Dateigröße | Download | SHA256 |
|---|---|---|---|---|---|
| 64-Bit | ZIP → Portabel | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portabel | — | — | github.com | VirusTotal |
| 32-Bit | ZIP → Portabel | — | — | github.com | VirusTotal |
Link und SHA256 stammen aus dem Community-Manifest des Windows-Paket-Managers. Vergleichen Sie den Hash der heruntergeladenen Datei, bevor Sie sie ausführen.
Versionshinweise
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)