Dette er en ældre version. Den nyeste version er 0.17.1. Ruff 0.17.1 · Udgivet:
Installationsfiler 0.11.3
| 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] Add more autofixes for AIR302 (#16876, #16977, #16976, #16965)
- [airflow] Move AIR301 to AIR002 (#16978)
- [airflow] Move AIR302 to AIR301 and AIR303 to AIR302 (#17151)
- [flake8-bandit] Mark `str` and `list[str]` literals as trusted input (S603) (#17136)
- [ruff] Support slices in RUF005 (#17078)
- [syntax-errors] Start detecting compile-time syntax errors (#16106)
- [syntax-errors] Duplicate type parameter names (#16858)
- [syntax-errors] Irrefutable `case` pattern before final case (#16905)
- [syntax-errors] Multiple assignments in `case` pattern (#16957)
- [syntax-errors] Single starred assignment target (#17024)
- [syntax-errors] Starred expressions in `return`, `yield`, and `for` (#17134)
- [syntax-errors] Store to or delete `__debug__` (#16984)
Bug fixes
- Error instead of `panic!` when running Ruff from a deleted directory (#16903) (#17054)
- [syntax-errors] Fix false positive for parenthesized tuple index (#16948)
CLI
- Check `pyproject.toml` correctly when it is passed via stdin (#16971)
Configuration
- [flake8-import-conventions] Add import `numpy.typing as npt` to default `flake8-import-conventions.aliases` (#17133)
Documentation
- [refurb] Document why `UserDict`, `UserList`, and `UserString` are preferred over `dict`, `list`, and `str` (FURB189) (#16927)