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.9.10
| 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
- [ruff] Add new rule RUF059: Unused unpacked assignment (#16449)
- [syntax-errors] Detect assignment expressions before Python 3.8 (#16383)
- [syntax-errors] Named expressions in decorators before Python 3.9 (#16386)
- [syntax-errors] Parenthesized keyword argument names after Python 3.8 (#16482)
- [syntax-errors] Positional-only parameters before Python 3.8 (#16481)
- [syntax-errors] Tuple unpacking in `return` and `yield` before Python 3.8 (#16485)
- [syntax-errors] Type parameter defaults before Python 3.13 (#16447)
- [syntax-errors] Type parameter lists before Python 3.12 (#16479)
- [syntax-errors] `except*` before Python 3.11 (#16446)
- [syntax-errors] `type` statements before Python 3.12 (#16478)
Bug fixes
- Escape template filenames in glob patterns in configuration (#16407)
- [flake8-simplify] Exempt unittest context methods for SIM115 rule (#16439)
- Formatter: Fix syntax error location in notebooks (#16499)
- [pyupgrade] Do not offer fix when at least one target is `global`/`nonlocal` (UP028) (#16451)
- [flake8-builtins] Ignore variables matching module attribute names (A001) (#16454)
- [pylint] Convert `code` keyword argument to a positional argument in fix for (PLR1722) (#16424)
CLI
- Move rule code from `description` to `check_name` in GitLab output serializer (#16437)
Documentation
- [pydocstyle] Clarify that D417 only checks docstrings with an arguments section (#16494)