Dette er en ældre version. Den nyeste version er 0.17.1. Ruff 0.17.1 · Udgivet:
Installationsfiler 0.14.2
| 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 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)