Skip to content

Commit

Permalink
[misc] print a message to suggest how to bypass commit hooks (vllm-pr…
Browse files Browse the repository at this point in the history
…oject#12217)

Signed-off-by: youkaichao <[email protected]>
Signed-off-by: Matthew Hendrey <[email protected]>
  • Loading branch information
youkaichao authored and mhendrey committed Jan 23, 2025
1 parent 9f3d5a6 commit 957ca23
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ repos:
hooks:
- id: pymarkdown
files: docs/.*
- repo: https://github.com/rhysd/actionlint
rev: v1.7.6
hooks:
- id: actionlint
- repo: local
hooks:
- id: mypy-local
Expand Down Expand Up @@ -81,7 +85,8 @@ repos:
entry: tools/png-lint.sh
language: script
types: [png]
- repo: https://github.com/rhysd/actionlint
rev: v1.7.6
hooks:
- id: actionlint
- id: suggestion
name: Suggestion
entry: bash -c 'echo "To bypass pre-commit hooks, add --no-verify to git commit."'
language: system
verbose: true

0 comments on commit 957ca23

Please sign in to comment.