[CI][Lint] Show lint diff on failure (#5956)

### What this PR does / why we need it?
Currently, some of lint checks default automatic code correction but
only shows which files were modified (without specifying the changes);
in a CI environment, we can make a small optimization to show which
lines were modified to give the developers some specifying hint.
### Does this PR introduce _any_ user-facing change?

### How was this patch tested?

- vLLM version: v0.13.0
- vLLM main:
2c24bc6996

Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
Li Wang
2026-01-20 21:07:01 +08:00
committed by GitHub
parent 8cf1e8d8a7
commit 0c0514579f

View File

@@ -56,4 +56,4 @@ jobs:
TERM: xterm-256color
SHELLCHECK_OPTS: "--exclude=SC2046,SC2006,SC2086" # Exclude SC2046, SC2006, SC2086 for actionlint
run: |
pre-commit run --all-files --hook-stage manual
pre-commit run --all-files --hook-stage manual --show-diff-on-failure