Reinstate format.sh and make pre-commit installation simpler (#15890)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-04-01 15:41:30 +00:00
committed by GitHub
parent 2041c0e360
commit b63bd14999
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
default_install_hook_types:
- pre-commit
- commit-msg
default_stages:
- pre-commit # Run locally
- manual # Run in CI
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
echo "vLLM linting system has been moved from format.sh to pre-commit hooks."
echo "Please run 'pip install -r requirements/lint.txt', followed by"
echo "'pre-commit install' to install the pre-commit hooks."
echo "Then linters will run automatically before each commit."