Skip to content

Commit

Permalink
Address comment: Capitalized bash variables
Browse files Browse the repository at this point in the history
Signed-off-by: Chi-Sheng Liu <[email protected]>
  • Loading branch information
MortalHappiness committed Jan 22, 2025
1 parent da84b93 commit 096cc88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/lint/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pre_commit() {
# TODO(MortalHappiness): Run all pre-commit checks because currently we only run some of them.
pip install -c python/requirements_compiled.txt pre-commit clang-format

hooks=(
HOOKS=(
ruff
check-added-large-files
check-ast
Expand All @@ -32,8 +32,8 @@ pre_commit() {
check-cpp-files-inclusion
)

for hook in "${hooks[@]}"; do
pre-commit run "$hook" --all-files --show-diff-on-failure
for HOOK in "${HOOKS[@]}"; do
pre-commit run "$HOOK" --all-files --show-diff-on-failure
done
}

Expand Down

0 comments on commit 096cc88

Please sign in to comment.