Skip to content

Commit 72c2b68

Browse files
authored
[Misc] Move pre-commit suggestion back to the end (#13114)
Signed-off-by: Russell Bryant <[email protected]>
1 parent 14ecab5 commit 72c2b68

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.pre-commit-config.yaml

+9-7
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,6 @@ repos:
116116
language: python
117117
types: [python]
118118
exclude: 'vllm/third_party/.*'
119-
- id: suggestion
120-
name: Suggestion
121-
entry: bash -c 'echo "To bypass pre-commit hooks, add --no-verify to git commit."'
122-
language: system
123-
verbose: true
124-
pass_filenames: false
125-
exclude: 'vllm/third_party/.*'
126119
- id: check-filenames
127120
name: Check for spaces in all filenames
128121
entry: bash
@@ -133,3 +126,12 @@ repos:
133126
always_run: true
134127
pass_filenames: false
135128
exclude: 'vllm/third_party/.*'
129+
# Keep `suggestion` last
130+
- id: suggestion
131+
name: Suggestion
132+
entry: bash -c 'echo "To bypass pre-commit hooks, add --no-verify to git commit."'
133+
language: system
134+
verbose: true
135+
pass_filenames: false
136+
exclude: 'vllm/third_party/.*'
137+
# Insert new entries above the `suggestion` entry

0 commit comments

Comments
 (0)