이전 버전입니다. 현재 최신 버전은 0.17.1입니다. Ruff 0.17.1 · 출시일:
설치 파일 0.7.3
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | ZIP → 포터블 | — | — | github.com | VirusTotal |
| ARM64 | ZIP → 포터블 | — | — | github.com | VirusTotal |
| 32비트 | ZIP → 포터블 | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
Preview features
- Formatter: Disallow single-line implicit concatenated strings (#13928)
- [flake8-pyi] Include all Python file types for PYI006 and PYI066 (#14059)
- [flake8-simplify] Implement `split-of-static-string` (SIM905) (#14008)
- [refurb] Implement `subclass-builtin` (FURB189) (#14105)
- [ruff] Improve diagnostic messages and docs (RUF031, RUF032, RUF034) (#14068)
Rule changes
- Detect items that hash to same value in duplicate sets (B033, PLC0208) (#14064)
- [eradicate] Better detection of IntelliJ language injection comments (ERA001) (#14094)
- [flake8-pyi] Add autofix for `docstring-in-stub` (PYI021) (#14150)
- [flake8-pyi] Update `duplicate-literal-member` (PYI062) to alawys provide an autofix (#14188)
- [pyflakes] Detect items that hash to same value in duplicate dictionaries (F601) (#14065)
- [ruff] Fix false positive for decorators (RUF028) (#14061)
Bug fixes
- Avoid parsing joint rule codes as distinct codes in `# noqa` (#12809)
- [eradicate] ignore `# language=` in commented-out-code rule (ERA001) (#14069)
- [flake8-bugbear] - do not run `mutable-argument-default` on stubs (B006) (#14058)
- [flake8-builtins] Skip lambda expressions in `builtin-argument-shadowing (A002)` (#14144)
- [flake8-comprehension] Also remove trailing comma while fixing C409 and C419 (#14097)
- [flake8-simplify] Allow `open` without context manager in `return` statement (SIM115) (#14066)
- [pylint] Respect hash-equivalent literals in `iteration-over-set` (PLC0208) (#14063)
- [pylint] Update known dunder methods for Python 3.13 (PLW3201) (#14146)
- [pyupgrade] - ignore kwarg unpacking for UP044 (#14053)
- [refurb] Parse more exotic decimal strings in `verbose-decimal-constructor` (FURB157) (#14098)
Documentation
- Add links to missing related options within rule documentations (#13971)
- Add rule short code to mkdocs tags to allow searching via rule codes (#14040)