이전 버전입니다. 현재 최신 버전은 0.17.1입니다. Ruff 0.17.1 · 출시일:
설치 파일 0.12.4
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | ZIP → 포터블 | — | — | github.com | VirusTotal |
| ARM64 | ZIP → 포터블 | — | — | github.com | VirusTotal |
| 32비트 | ZIP → 포터블 | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
Preview features
- [flake8-type-checking`, `pyupgrade`, `ruff] Add `from __future__ import annotations` when it would allow new fixes (TC001, TC002, TC003, UP037, RUF013) (#19100)
- [flake8-use-pathlib] Add autofix for PTH109 (#19245)
- [pylint] Detect indirect `pathlib.Path` usages for `unspecified-encoding` (PLW1514) (#19304)
Bug fixes
- [flake8-bugbear] Fix B017 false negatives for keyword exception arguments (#19217)
- [flake8-use-pathlib] Fix false negative on direct `Path()` instantiation (PTH210) (#19388)
- [flake8-django] Fix DJ008 false positive for abstract models with type-annotated `abstract` field (#19221)
- [isort] Fix I002 import insertion after docstring with multiple string statements (#19222)
- [isort] Treat form feed as valid whitespace before a semicolon (#19343)
- [pydoclint] Fix `SyntaxError` from fixes with line continuations (D201, D202) (#19246)
- [refurb] FURB164 fix should validate arguments and should usually be marked unsafe (#19136)
Rule changes
- [flake8-use-pathlib] Skip single dots for `invalid-pathlib-with-suffix` (PTH210) on versions >= 3.14 (#19331)
- [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802) (#18907)
- [pycodestyle] Handle brace escapes for t-strings in logical lines (#19358)
- [pylint] Extend invalid string character rules to include t-strings (#19355)
- [ruff] Allow `strict` kwarg when checking for `starmap-zip` (RUF058) in Python 3.14+ (#19333)
Documentation
- [flake8-type-checking] Make TC010 docs example more realistic (#19356)
- Make more documentation examples error out-of-the-box (#19288,#19272,#19291,#19296,#19292,#19295,#19297,#19309)