Skip to content
Permalink
Browse files

Whitelist thead as we have too much HTML using it to add them to the …

…ignore list
  • Loading branch information
peternewman committed Nov 20, 2019
1 parent 15fe2f1 commit 784976bbd0cc9b5d0e55da7b903cdc1c605779a1
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis-ci.sh
@@ -168,10 +168,10 @@ elif [[ $TASK = 'codespell' ]]; then
$SPELLINGBLACKLIST \
\) | xargs")
# count the number of codespell errors
spellingerrors=$(zrun codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles 2>&1 | wc -l)
spellingerrors=$(zrun codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore -L thead $spellingfiles 2>&1 | wc -l)
if [[ $spellingerrors -ne 0 ]]; then
# print the output for info
zrun codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles
zrun codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore -L thead $spellingfiles
echo "Found $spellingerrors spelling errors via codespell"
exit 1;
else

0 comments on commit 784976b

Please sign in to comment.
You can’t perform that action at this time.