Tämä on vanhempi versio. Uusin versio on 0.17.1. Ruff 0.17.1 · Julkaistu:
Asennustiedostot 0.14.2
| 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
Released on 2025-10-23.
Preview features
- [flake8-gettext] Resolve qualified names and built-in bindings (INT001, INT002, INT003) (#19045)
Bug fixes
- Avoid reusing nested, interpolated quotes before Python 3.12 (#20930)
- Catch syntax errors in nested interpolations before Python 3.12 (#20949)
- [fastapi] Handle ellipsis defaults in FAST002 autofix (#20810)
- [flake8-simplify] Skip SIM911 when unknown arguments are present (#20697)
- [pyupgrade] Always parenthesize assignment expressions in fix for `f-string` (UP032) (#21003)
- [pyupgrade] Fix UP032 conversion for decimal ints with underscores (#21022)
- [fastapi] Skip autofix for keyword and `__debug__` path params (FAST003) (#20960)
Rule changes
- [flake8-bugbear] Skip B905 and B912 for fewer than two iterables and no starred arguments (#20998)
- [ruff] Use `DiagnosticTag` for more `pyflakes` and `pandas` rules (#20801)
CLI
- Improve JSON output from `ruff rule` (#20168)
Documentation
- Add source to testimonial (#20971)
- Document when a rule was added (#21035)
Other changes
- [syntax-errors] Name is parameter and global (#20426)
- [syntax-errors] Alternative `match` patterns bind different names (#20682)