Aquesta és una versió anterior. La versió actual és la 0.17.1. Ruff 0.17.1 · Data de publicació:
Fitxers d’instal·lació 0.12.4
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
| 32 bits | ZIP → Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
Preview features
- [flake8-type-checking`, `pyupgrade`, `ruff] Add `from __future__ import annotations` when it would allow new fixes (TC001, TC002, TC003, UP037, RUF013) (#19100)
- [flake8-use-pathlib] Add autofix for PTH109 (#19245)
- [pylint] Detect indirect `pathlib.Path` usages for `unspecified-encoding` (PLW1514) (#19304)
Bug fixes
- [flake8-bugbear] Fix B017 false negatives for keyword exception arguments (#19217)
- [flake8-use-pathlib] Fix false negative on direct `Path()` instantiation (PTH210) (#19388)
- [flake8-django] Fix DJ008 false positive for abstract models with type-annotated `abstract` field (#19221)
- [isort] Fix I002 import insertion after docstring with multiple string statements (#19222)
- [isort] Treat form feed as valid whitespace before a semicolon (#19343)
- [pydoclint] Fix `SyntaxError` from fixes with line continuations (D201, D202) (#19246)
- [refurb] FURB164 fix should validate arguments and should usually be marked unsafe (#19136)
Rule changes
- [flake8-use-pathlib] Skip single dots for `invalid-pathlib-with-suffix` (PTH210) on versions >= 3.14 (#19331)
- [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802) (#18907)
- [pycodestyle] Handle brace escapes for t-strings in logical lines (#19358)
- [pylint] Extend invalid string character rules to include t-strings (#19355)
- [ruff] Allow `strict` kwarg when checking for `starmap-zip` (RUF058) in Python 3.14+ (#19333)
Documentation
- [flake8-type-checking] Make TC010 docs example more realistic (#19356)
- Make more documentation examples error out-of-the-box (#19288,#19272,#19291,#19296,#19292,#19295,#19297,#19309)