Tämä on vanhempi versio. Uusin versio on 0.17.1. Ruff 0.17.1 · Julkaistu:
Asennustiedostot 0.12.11
| Arkkitehtuuri | Tyyppi | Laajuus | Tiedostokoko | Lataus | SHA256 |
|---|---|---|---|---|---|
| 64-bittinen | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
| 32-bittinen | ZIP → Portable | — | — | github.com | VirusTotal |
Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.
Muutosloki
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)