[CI] fix: only check changed files in CI (#1168)

We also remove previous workaround of adding ignores.
This commit is contained in:
Shawn/Yuxuan Tong
2025-04-20 02:55:28 +08:00
committed by GitHub
parent 8719371949
commit 121f0b034c
5 changed files with 36 additions and 32 deletions

View File

@ -3,6 +3,5 @@ repos:
rev: "v0.11.4"
hooks:
- id: ruff
pass_filenames: true
entry: bash -c 'ruff check --fix --show-fixes --output-format=${RUFF_OUTPUT_FORMAT:-full} "$@"'
args: ["--fix", "--show-fixes", "--output-format=full"]
- id: ruff-format