Tämä on vanhempi versio. Uusin versio on 0.17.1. Ruff 0.17.1 · Julkaistu:
Asennustiedostot 0.12.8
| 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
- [flake8-use-pathlib] Expand PTH201 to check all `PurePath` subclasses (#19440)
Bug fixes
- [flake8-blind-except] Change BLE001 to correctly parse exception tuples (#19747)
- [flake8-errmsg] Exclude `typing.cast` from EM101 (#19656)
- [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes (#19591)
- [flake8-import-conventions] Avoid false positives for NFKC-normalized `__debug__` import aliases in ICN001 (#19411)
- [isort] Fix syntax error after docstring ending with backslash (I002) (#19505)
- [pylint] Mark PLC0207 fixes as unsafe when `*args` unpacking is present (#19679)
- [pyupgrade] Prevent infinite loop with I002 (UP010, UP035) (#19413)
- [ruff] Parenthesize generator expressions in f-strings (RUF010) (#19434)
Rule changes
- [eradicate] Don't flag `pyrefly` pragmas as unused code (ERA001) (#19731)
Documentation
- Replace "associative" with "commutative" in docs for RUF036 (#19706)
- Fix copy and line separator colors in dark mode (#19630)
- Fix link to `typing` documentation (#19648)
- [refurb] Make more examples error out-of-the-box (#19695,#19673,#19672)
Other changes
- Include column numbers in GitLab output format (#19708)
- Always expand tabs to four spaces in diagnostics (#19618)
- Update pre-commit's `ruff` id (#19654)