[Misc] Sync pre-commit to 4.5.1 in workflows and docs (#36675)

Signed-off-by: SoluMilken <ypiheyn.imm02g@g2.nctu.edu.tw>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
SoluMilken
2026-03-16 18:03:21 +08:00
committed by GitHub
parent 0115e957d4
commit d8f8a7aad2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ pull_request_rules:
Hi @{{author}}, the pre-commit checks have failed. Please run: Hi @{{author}}, the pre-commit checks have failed. Please run:
```bash ```bash
uv pip install pre-commit uv pip install pre-commit>=4.5.1
pre-commit install pre-commit install
pre-commit run --all-files pre-commit run --all-files
``` ```
+1 -1
View File
@@ -75,7 +75,7 @@ For an optimized workflow when iterating on C++/CUDA kernels, see the [Increment
vLLM uses `pre-commit` to lint and format the codebase. See <https://pre-commit.com/#usage> if `pre-commit` is new to you. Setting up `pre-commit` is as easy as: vLLM uses `pre-commit` to lint and format the codebase. See <https://pre-commit.com/#usage> if `pre-commit` is new to you. Setting up `pre-commit` is as easy as:
```bash ```bash
uv pip install pre-commit uv pip install pre-commit>=4.5.1
pre-commit install pre-commit install
``` ```
+1 -1
View File
@@ -1,2 +1,2 @@
# formatting # formatting
pre-commit==4.0.1 pre-commit>=4.5.1