mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-03 17:17:04 +08:00
[misc] print a message to suggest how to bypass commit hooks (#12217)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
parent
b37d82791e
commit
170eb35079
@ -34,6 +34,10 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: pymarkdown
|
- id: pymarkdown
|
||||||
files: docs/.*
|
files: docs/.*
|
||||||
|
- repo: https://github.com/rhysd/actionlint
|
||||||
|
rev: v1.7.6
|
||||||
|
hooks:
|
||||||
|
- id: actionlint
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy-local
|
- id: mypy-local
|
||||||
@ -81,7 +85,8 @@ repos:
|
|||||||
entry: tools/png-lint.sh
|
entry: tools/png-lint.sh
|
||||||
language: script
|
language: script
|
||||||
types: [png]
|
types: [png]
|
||||||
- repo: https://github.com/rhysd/actionlint
|
- id: suggestion
|
||||||
rev: v1.7.6
|
name: Suggestion
|
||||||
hooks:
|
entry: bash -c 'echo "To bypass pre-commit hooks, add --no-verify to git commit."'
|
||||||
- id: actionlint
|
language: system
|
||||||
|
verbose: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user