Dette er en ældre version. Den nyeste version er 0.17.1. Ruff 0.17.1 · Udgivet:
Installationsfiler 0.16.3
| Arkitektur | Type | Omfang | Filstørrelse | Download | SHA256 |
|---|---|---|---|---|---|
| 64-bit | ZIP → Portabel | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portabel | — | — | github.com | VirusTotal |
| 32-bit | ZIP → Portabel | — | — | github.com | VirusTotal |
Link og SHA256 stammer fra fællesskabets manifest i Windows Package Manager. Sammenlign hashen for den downloadede fil, før du kører den.
Udgivelsesnoter
Released on 2026-08-13.
Preview features
- [pylint] Fix false negatives on negative numbers (PLR6104) (#27251)
- [pyupgrade] Add rule to replace `while 1` with `while True` (UP048) (#27190)
Bug fixes
- [flake8-bandit] Also check keyword arguments (S602, S603, S607, S609) (#27687)
- [pylint] Allow `continue` in `finally` on Python 3.8 (#27626)
- [pylint] Fix PLE1307 false positive with bools (#27651)
- [pylint] Fix false positives and negatives with `%b` format character (PLE1300, PLE1307) (#27560)
- [pylint] Improve handling of concatenated strings (PLE1300) (#27659)
Rule changes
- [numpy] Make `np.chararray` autofix backwards-compatible (NPY201) (#27527)
Performance
- Enable PGO for Linux x86-64 Ruff releases (#27570)
- Enable PGO for Linux ARM64 Ruff releases (#27574)
- Enable PGO for Windows x86-64 Ruff releases (#27573)
- Enable PGO for macOS ARM64 Ruff releases (#27572)
- Reduce `Expr` size to 64 bytes (#27591)
CLI
- Hyperlink rule codes in `ruff check --statistics` output (#27646)
Documentation
- [ruff] Also suggest `asyncio.TaskGroup` (RUF006) (#27461)
Other changes
- Use mimalloc v3 (#27586)