이전 버전입니다. 현재 최신 버전은 0.17.1입니다. Ruff 0.17.1 · 출시일:
설치 파일 0.11.8
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | ZIP → 포터블 | — | — | github.com | VirusTotal |
| ARM64 | ZIP → 포터블 | — | — | github.com | VirusTotal |
| 32비트 | ZIP → 포터블 | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
Preview features
- [airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR302, AIR311) (#17553, #17570, #17571)
- [airflow] Extend AIR301 rule (#17598)
- [airflow] Update existing AIR302 rules with better suggestions (#17542)
- [refurb] Mark fix as safe for `readlines-in-for` (FURB129) (#17644)
- [syntax-errors] `nonlocal` declaration at module level (#17559)
- [syntax-errors] Detect single starred expression assignment `x = *y` (#17624)
Bug fixes
- [flake8-pyi] Ensure `Literal[None,] | Literal[None,]` is not autofixed to `None | None` (PYI061) (#17659)
- [flake8-use-pathlib] Avoid suggesting `Path.iterdir()` for `os.listdir` with file descriptor (PTH208) (#17715)
- [flake8-use-pathlib] Fix PTH104 false positive when `rename` is passed a file descriptor (#17712)
- [flake8-use-pathlib] Fix PTH116 false positive when `stat` is passed a file descriptor (#17709)
- [flake8-use-pathlib] Fix PTH123 false positive when `open` is passed a file descriptor from a function call (#17705)
- [pycodestyle] Fix duplicated diagnostic in E712 (#17651)
- [pylint] Detect `global` declarations in module scope (PLE0118) (#17411)
- [syntax-errors] Make `async-comprehension-in-sync-comprehension` more specific (#17460)
Configuration
- Add option to disable `typing_extensions` imports (#17611)
Documentation
- Fix example syntax for the `lint.pydocstyle.ignore-var-parameters` option (#17740)
- Add fix safety sections (ASYNC116, FLY002, D200, RUF005, RUF017, RUF027, RUF028, RUF057) (#17497, #17496, #17502, #17484, #17480, #17485, #17722, #17483)
Other changes
- Add Python 3.14 to configuration options (#17647)
- Make syntax error for unparenthesized except tuples version specific to before 3.14 (#17660)