Dette er en ældre version. Den nyeste version er 0.17.1. Ruff 0.17.1 · Udgivet:
Installationsfiler 0.14.5
| 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
Released on 2025-11-13.
Preview features
- [flake8-simplify] Apply SIM113 when index variable is of type `int` (#21395)
- [pydoclint] Fix false positive when Sphinx directives follow a "Raises" section (DOC502) (#20535)
- [pydoclint] Support NumPy-style comma-separated parameters (DOC102) (#20972)
- [refurb] Auto-fix annotated assignments (FURB101) (#21278)
- [ruff] Ignore `str()` when not used for simple conversion (RUF065) (#21330)
Bug fixes
- Fix syntax error false positive on alternative `match` patterns (#21362)
- [flake8-simplify] Fix false positive for iterable initializers with generator arguments (SIM222) (#21187)
- [pyupgrade] Fix false positive on relative imports from local `.builtins` module (UP029) (#21309)
- [pyupgrade] Consistently set the deprecated tag (UP035) (#21396)
Rule changes
- [refurb] Detect empty f-strings (FURB105) (#21348)
CLI
- Add option to provide a reason to `--add-noqa` (#21294)
- Add upstream linter URL to `ruff linter --output-format=json` (#21316)
- Add color to `--help` (#21337)
Documentation
- Add a new "Opening a PR" section to the contribution guide (#21298)
- Added the PyScripter IDE to the list of "Who is using Ruff?" (#21402)
- Update PyCharm setup instructions (#21409)
- [flake8-annotations] Add link to `allow-star-arg-any` option (ANN401) (#21326)
Other changes
- [configuration] Improve error message when `line-length` exceeds `u16::MAX` (#21329)