File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ default_install_hook_types:
4
4
default_stages :
5
5
- pre-commit # Run locally
6
6
- manual # Run in CI
7
- exclude : ' examples/|vllm-empty/' # Exclude examples from all hooks by default
7
+ exclude : ' ^( examples/.* |vllm-empty/.*)$ ' # Exclude examples from all hooks by default
8
8
repos :
9
9
- repo : https://github.com/codespell-project/codespell
10
10
rev : v2.4.1
Original file line number Diff line number Diff line change @@ -40,9 +40,10 @@ if ! [ -x "$(command -v shellcheck)" ]; then
40
40
export PATH
41
41
fi
42
42
43
- find . -path ./.git -prune -o -name " *.sh" -print0 \
43
+ find . \( -path ./.git -o -path ./vllm-empty \) -prune -o -name " *.sh" -print0 \
44
44
| while IFS= read -r -d ' ' file; do
45
45
if ! git check-ignore -q " $file " ; then
46
46
shellcheck -s bash -e SC1091 " $file "
47
47
fi
48
48
done
49
+
You can’t perform that action at this time.
0 commit comments