@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 1918aa1b80
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 15, 23:30 UTC

[MISC][EASY] Break check file names into entry and args in the pre-commit hooks (#12880)

Signed-off-by: Lu Fang <lufang@fb.com>

Lu Fang committed Feb 7, 2025 at 05:04 UTC 1918aa1b8010c00443b71f8bb976d4db4acf3c18
1 file changed +4 -1
.pre-commit-config.yaml
+4 -1
@@ -110,7 +110,10 @@ repos:
110 pass_filenames: false
111 - id: check-filenames
112 name: Check for spaces in all filenames
113 - entry: bash -c 'git ls-files | grep " " && echo "Filenames should not contain spaces!" && exit 1 || exit 0'
113 + entry: bash
114 + args:
115 + - -c
116 + - 'git ls-files | grep " " && echo "Filenames should not contain spaces!" && exit 1 || exit 0'
117 language: system
118 always_run: true
119 pass_filenames: false