diff --git a/dist/tools/codespell/check.sh b/dist/tools/codespell/check.sh index 37fd02d2fa..6a281a23cc 100755 --- a/dist/tools/codespell/check.sh +++ b/dist/tools/codespell/check.sh @@ -37,8 +37,9 @@ ${CODESPELL_CMD} --version &> /dev/null || { CODESPELL_OPTS="-q 2" # Disable "WARNING: Binary file" CODESPELL_OPTS+=" --check-hidden" -# Disable false positives "nd => and, 2nd", "WAN => WANT", "od => of" -CODESPELL_OPTS+=" --ignore-words-list=ND,nd,WAN,od" +# Disable false positives "nd => and, 2nd", "WAN => WANT", "od => of", +# "dout => doubt" +CODESPELL_OPTS+=" --ignore-words-list=ND,nd,wan,od,dout" # Filter-out all false positive raising "disabled due to" messages. ERRORS=$(${CODESPELL_CMD} ${CODESPELL_OPTS} ${FILES} | grep -ve "disabled due to")