[ci] pin ruff version and fix lint errors (#10681)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-07-24 16:29:58 +08:00
committed by GitHub
parent 3f77101580
commit 2ebe7be611
10 changed files with 30 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ repos:
args: [--py39-plus]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.2
rev: v0.15.5
hooks:
- id: ruff
args: [--fix]