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.12.11
| 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ó
Preview features
- [airflow] Extend AIR311 and AIR312 rules (#20082)
- [airflow] Replace wrong path `airflow.io.storage` with `airflow.io.store` (AIR311) (#20081)
- [flake8-async] Implement `blocking-http-call-httpx-in-async-function` (ASYNC212) (#20091)
- [flake8-logging-format] Add auto-fix for f-string logging calls (G004) (#19303)
- [flake8-use-pathlib] Add autofix for PTH211 (#20009)
- [flake8-use-pathlib] Make PTH100 fix unsafe because it can change behavior (#20100)
Bug fixes
- [pyflakes`, `pylint] Fix false positives caused by `__class__` cell handling (F841, PLE0117) (#20048)
- [pyflakes] Fix `allowed-unused-imports` matching for top-level modules (F401) (#20115)
- [ruff] Fix false positive for t-strings in `default-factory-kwarg` (RUF026) (#20032)
- [ruff] Preserve relative whitespace in multi-line expressions (RUF033) (#19647)
Rule changes
- [ruff] Handle empty t-strings in `unnecessary-empty-iterable-within-deque-call` (RUF037) (#20045)
Documentation
- Fix incorrect D413 links in docstrings convention FAQ (#20089)
- [flake8-use-pathlib] Update links to the table showing the correspondence between `os` and `pathlib` (#20103)