diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 484cd171f5f52..f81410ab40690 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +default_install_hook_types: + - pre-commit + - commit-msg default_stages: - pre-commit # Run locally - manual # Run in CI diff --git a/format.sh b/format.sh new file mode 100644 index 0000000000000..6ba93e0a19ba8 --- /dev/null +++ b/format.sh @@ -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." \ No newline at end of file