Skip to content

Commit

Permalink
[MISC] Check space in the file names in the pre commit checks (vllm-p…
Browse files Browse the repository at this point in the history
…roject#12804)

Signed-off-by: Lu Fang <[email protected]>
  • Loading branch information
houseroad authored and panf2333 committed Feb 18, 2025
1 parent 26f07f8 commit 6ae1c1c
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,9 @@ repos:
language: system
verbose: true
pass_filenames: false
- id: check-filenames
name: Check for spaces in all filenames
entry: bash -c 'git ls-files | grep " " && echo "Filenames should not contain spaces!" && exit 1 || exit 0'
language: system
always_run: true
pass_filenames: false

0 comments on commit 6ae1c1c

Please sign in to comment.