diff --git a/dist/tools/codespell/check.sh b/dist/tools/codespell/check.sh index 15f5f2aca2..aeb088f90e 100755 --- a/dist/tools/codespell/check.sh +++ b/dist/tools/codespell/check.sh @@ -56,8 +56,8 @@ if [ -n "${ERRORS}" ] then printf "%sThere are typos in the following files:%s\n\n" "${CERROR}" "${CRESET}" printf "%s\n" "${ERRORS}" - # TODO: return 1 when all typos are fixed - exit 0 + printf "If those are false positives, add them to %s\n" "${RIOTTOOLS}/codespell/ignored_words.txt" + exit 1 else exit 0 fi