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