Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:10:44

0001 #!/bin/bash
0002 
0003 codespell -S "*.ipynb,*.onnx,_build,*.svg" -I ./CI/codespell_ignore.txt ./Core ./Examples ./Tests ./Plugins ./docs
0004 
0005 RETVAL=$?
0006 
0007 if [[ $RETVAL -ne 0 ]]; then
0008     echo ""
0009     echo "codespell detected incorrect spelling. You have two options how to deal with this:"
0010     echo ""
0011     echo "1) Apply one suggestion of codespell"
0012     echo "2) If this is a false-positive, add the word to './CI/codespell_ignore.txt'"
0013     echo "   (Note that you need to add the word in lower case)"
0014     echo ""
0015     echo "You can apply suggestions interactively with"
0016     echo "\`codespell -wi3 -I ./CI/codespell_ignore.txt <directory>\`"
0017 fi
0018 
0019 exit $RETVAL