Dette er en ældre version. Den nyeste version er 0.17.1. Ruff 0.17.1 · Udgivet:
Installationsfiler 0.9.2
| 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] Fix typo "security_managr" to "security_manager" (AIR303) (#15463)
- [airflow] extend and fix AIR302 rules (#15525)
- [fastapi] Handle parameters with `Depends` correctly (FAST003) (#15364)
- [flake8-pytest-style] Implement pytest.warns diagnostics (PT029, PT030, PT031) (#15444)
- [flake8-pytest-style] Test function parameters with default arguments (PT028) (#15449)
- [flake8-type-checking] Avoid false positives for `|` in TC008 (#15201)
Rule changes
- [flake8-todos] Allow VSCode GitHub PR extension style links in `missing-todo-link` (TD003) (#15519)
- [pyflakes] Show syntax error message for F722 (#15523)
Formatter
- Fix curly bracket spacing around f-string expressions containing curly braces (#15471)
- Fix joining of f-strings with different quotes when using quote style `Preserve` (#15524)
Server
- Avoid indexing the same workspace multiple times (#15495)
- Display context for `ruff.configuration` errors (#15452)
Configuration
- Remove `flatten` to improve deserialization error messages (#15414)
Bug fixes
- Parse triple-quoted string annotations as if parenthesized (#15387)
- [fastapi] Update `Annotated` fixes (FAST002) (#15462)
- [flake8-bandit] Check for `builtins` instead of `builtin` (S102, PTH123) (#15443)
- [flake8-pathlib] Fix `--select` for `os-path-dirname` (PTH120) (#15446)
- [ruff] Fix false positive on global keyword (RUF052) (#15235)