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:
parent
2041c0e360
commit
b63bd14999
@ -1,3 +1,6 @@
|
|||||||
|
default_install_hook_types:
|
||||||
|
- pre-commit
|
||||||
|
- commit-msg
|
||||||
default_stages:
|
default_stages:
|
||||||
- pre-commit # Run locally
|
- pre-commit # Run locally
|
||||||
- manual # Run in CI
|
- manual # Run in CI
|
||||||
|
6
format.sh
Normal file
6
format.sh
Normal 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."
|
Loading…
x
Reference in New Issue
Block a user