Skip to content

Commit

Permalink
Codespell skip nvidia_nim.yaml as it contains base64 encoded data
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Chang <[email protected]>
  • Loading branch information
mocsharp committed Oct 21, 2024
1 parent 8e58e91 commit 5d1eef5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ lint() {
# Fix python black code formatting issues, run:
run_command black ${DIR_TO_RUN} || exit_code=1
run_command codespell -w -i 3 ${DIR_TO_RUN} --ignore-words codespell_ignore_words.txt \
--skip="*.onnx,*.min.js,*.min.js.map,Contrastive_learning_Notebook.ipynb,./data" || exit_code=1
--skip="*.onnx,*.min.js,*.min.js.map,Contrastive_learning_Notebook.ipynb,./data" \
--skip="./applications/nvidia_nim/nvidia_nim_nvclip/nvidia_nim.yaml" || exit_code=1

# Fix cpplint with clang
files_to_fix=`set -o pipefail; ${HOLOHUB_PY_EXE} -m cpplint \
Expand Down Expand Up @@ -515,6 +516,7 @@ lint() {

echo "Code spelling"
run_command codespell $DIR_TO_RUN --skip="*.onnx,*.min.js,*.min.js.map,Contrastive_learning_Notebook.ipynb,./data" \
--skip="./applications/nvidia_nim/nvidia_nim_nvclip/nvidia_nim.yaml" \
--ignore-words codespell_ignore_words.txt \
--exclude-file codespell.txt || exit_code=1

Expand Down

0 comments on commit 5d1eef5

Please sign in to comment.