Esta é uma versão antiga. A versão atual é 0.17.1. Ruff 0.17.1 · Lançamento:
Arquivos de instalação 0.8.6
| Arquitetura | Tipo | Escopo | Tamanho do arquivo | Baixar | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portátil | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portátil | — | — | github.com | VirusTotal |
| 32 bits | ZIP → Portátil | — | — | github.com | VirusTotal |
O link e o SHA256 vêm do manifesto comunitário do Gerenciador de Pacotes do Windows. Compare o hash do arquivo baixado antes de executá-lo.
Notas da versão
Preview features
- [format]: Preserve multiline implicit concatenated strings in docstring positions (#15126)
- [ruff] Add rule to detect empty literal in deque call (RUF025) (#15104)
- [ruff] Avoid reporting when `ndigits` is possibly negative (RUF057) (#15234)
Rule changes
- [flake8-todos] remove issue code length restriction (TD003) (#15175)
- [pyflakes] Ignore errors in `@no_type_check` string annotations (F722, F821) (#15215)
CLI
- Show errors for attempted fixes only when passed `--verbose` (#15237)
Bug fixes
- [ruff] Avoid syntax error when removing int over multiple lines (RUF046) (#15230)
- [pyupgrade] Revert "Add all PEP-585 names to UP006 rule" (#15250)