Dette er en ældre version. Den nyeste version er 0.17.1. Ruff 0.17.1 · Udgivet:
Installationsfiler 0.11.8
| 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
- [airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR302, AIR311) (#17553, #17570, #17571)
- [airflow] Extend AIR301 rule (#17598)
- [airflow] Update existing AIR302 rules with better suggestions (#17542)
- [refurb] Mark fix as safe for `readlines-in-for` (FURB129) (#17644)
- [syntax-errors] `nonlocal` declaration at module level (#17559)
- [syntax-errors] Detect single starred expression assignment `x = *y` (#17624)
Bug fixes
- [flake8-pyi] Ensure `Literal[None,] | Literal[None,]` is not autofixed to `None | None` (PYI061) (#17659)
- [flake8-use-pathlib] Avoid suggesting `Path.iterdir()` for `os.listdir` with file descriptor (PTH208) (#17715)
- [flake8-use-pathlib] Fix PTH104 false positive when `rename` is passed a file descriptor (#17712)
- [flake8-use-pathlib] Fix PTH116 false positive when `stat` is passed a file descriptor (#17709)
- [flake8-use-pathlib] Fix PTH123 false positive when `open` is passed a file descriptor from a function call (#17705)
- [pycodestyle] Fix duplicated diagnostic in E712 (#17651)
- [pylint] Detect `global` declarations in module scope (PLE0118) (#17411)
- [syntax-errors] Make `async-comprehension-in-sync-comprehension` more specific (#17460)
Configuration
- Add option to disable `typing_extensions` imports (#17611)
Documentation
- Fix example syntax for the `lint.pydocstyle.ignore-var-parameters` option (#17740)
- Add fix safety sections (ASYNC116, FLY002, D200, RUF005, RUF017, RUF027, RUF028, RUF057) (#17497, #17496, #17502, #17484, #17480, #17485, #17722, #17483)
Other changes
- Add Python 3.14 to configuration options (#17647)
- Make syntax error for unparenthesized except tuples version specific to before 3.14 (#17660)