Skip to content

Commit 01ea7d0

Browse files
youkaichaomzusman
authored andcommitted
[misc] print a message to suggest how to bypass commit hooks (vllm-project#12217)
Signed-off-by: youkaichao <[email protected]>
1 parent a6b62c5 commit 01ea7d0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ repos:
3434
hooks:
3535
- id: pymarkdown
3636
files: docs/.*
37+
- repo: https://github.com/rhysd/actionlint
38+
rev: v1.7.6
39+
hooks:
40+
- id: actionlint
3741
- repo: local
3842
hooks:
3943
- id: mypy-local
@@ -81,7 +85,8 @@ repos:
8185
entry: tools/png-lint.sh
8286
language: script
8387
types: [png]
84-
- repo: https://github.com/rhysd/actionlint
85-
rev: v1.7.6
86-
hooks:
87-
- id: actionlint
88+
- id: suggestion
89+
name: Suggestion
90+
entry: bash -c 'echo "To bypass pre-commit hooks, add --no-verify to git commit."'
91+
language: system
92+
verbose: true

0 commit comments

Comments
 (0)