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.11.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] Implement a recursive check for RUF060 (#17976)
- [airflow] Enable autofixes for AIR301 and AIR311 (#17941)
- [airflow] Apply try catch guard to all AIR3 rules (#17887)
- [airflow] Extend AIR311 rules (#17913)
Bug fixes
- [flake8-bugbear] Ignore B028 if `skip_file_prefixes` is present (#18047)
- [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments (#18046)
- [flake8-simplify] Correct behavior for `str.split`/`rsplit` with `maxsplit=0` (SIM905) (#18075)
- [flake8-simplify] Fix SIM905 autofix for `rsplit` creating a reversed list literal (#18045)
- [flake8-use-pathlib] Suppress diagnostics for all `os.*` functions that have the `dir_fd` parameter (`PTH`) (#17968)
- [refurb] Mark autofix as safe only for number literals (FURB116) (#17692)
Rule changes
- [flake8-bandit] Skip S608 for expressionless f-strings (#17999)
- [flake8-pytest-style] Don't recommend `usefixtures` for `parametrize` values (PT019) (#17650)
- [pyupgrade] Add `resource.error` as deprecated alias of `OSError` (UP024) (#17933)
CLI
- Disable jemalloc on Android (#18033)
Documentation
- Update Neovim setup docs (#18108)
- [flake8-simplify] Add fix safety section (SIM103) (#18086)
- [flake8-simplify] Add fix safety section (SIM112) (#18099)
- [pylint] Add fix safety section (PLC0414) (#17802)
- [pylint] Add fix safety section (PLE4703) (#17824)
- [pylint] Add fix safety section (PLW1514) (#17932)
- [pylint] Add fix safety section (PLW3301) (#17878)
- [ruff] Add fix safety section (RUF007) (#17755)
- [ruff] Add fix safety section (RUF033) (#17760)