Skip to content

Commit 4b3492e

Browse files
committed
fix format
Signed-off-by: MengqingCao <cmq0113@163.com>
1 parent 374f322 commit 4b3492e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

format.sh

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -173,21 +173,21 @@ spell_check_changed() {
173173
fi
174174
}
175175

176-
# echo 'vllm-ascend codespell:'
177-
# # Run Codespell
178-
# ## This flag runs spell check of individual files. --files *must* be the first command line
179-
# ## arg to use this option.
180-
# if [[ "$1" == '--files' ]]; then
181-
# spell_check "${@:2}"
182-
# # If `--all` is passed, then any further arguments are ignored and the
183-
# # entire python directory is linted.
184-
# elif [[ "$1" == '--all' ]]; then
185-
# spell_check_all
186-
# else
187-
# # Check spelling only of the files that changed in last commit.
188-
# spell_check_changed
189-
# fi
190-
# echo 'vllm-ascend codespell: Done'
176+
echo 'vllm-ascend codespell:'
177+
# Run Codespell
178+
## This flag runs spell check of individual files. --files *must* be the first command line
179+
## arg to use this option.
180+
if [[ "$1" == '--files' ]]; then
181+
spell_check "${@:2}"
182+
# If `--all` is passed, then any further arguments are ignored and the
183+
# entire python directory is linted.
184+
elif [[ "$1" == '--all' ]]; then
185+
spell_check_all
186+
else
187+
# Check spelling only of the files that changed in last commit.
188+
spell_check_changed
189+
fi
190+
echo 'vllm-ascend codespell: Done'
191191

192192

193193
# Lint specified files

0 commit comments

Comments
 (0)