Tämä on vanhempi versio. Uusin versio on 0.17.1. Ruff 0.17.1 · Julkaistu:
Asennustiedostot 0.11.7
| 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] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR301) (#17355)
- [perflint] Implement fix for `manual-dict-comprehension` (PERF403) (#16719)
- [syntax-errors] Make duplicate parameter names a semantic error (#17131)
Bug fixes
- [airflow] Fix typos in provider package names (AIR302, AIR312) (#17574)
- [flake8-type-checking] Visit keyword arguments in checks involving `typing.cast`/`typing.NewType` arguments (#17538)
- [pyupgrade] Preserve parenthesis when fixing native literals containing newlines (UP018) (#17220)
- [refurb] Mark the FURB161 fix unsafe except for integers and booleans (#17240)
Rule changes
- [perflint] Allow list function calls to be replaced with a comprehension (PERF401) (#17519)
- [pycodestyle] Auto-fix redundant boolean comparison (E712) (#17090)
- [pylint] make fix unsafe if delete comments (PLR1730) (#17459)
Documentation
- Add fix safety sections to docs for several rules (#17410,#17440,#17441,#17443,#17444)