aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-spelling.sh
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-04-04 16:57:10 +0200
committerMarcoFalke <falke.marco@gmail.com>2022-04-04 16:58:07 +0200
commitfa82e890e7950fe5ba6d4fa88fcd922cc929dc47 (patch)
tree830a0df5a4d6fef47a3e17a8f0c24c143a5d5319 /test/lint/lint-spelling.sh
parent4faf7a1d86dbdd1741f557c371b24cf681152d4e (diff)
Move lint script and data file to avoid lint- prefix
This is needed for the next commit
Diffstat (limited to 'test/lint/lint-spelling.sh')
-rwxr-xr-xtest/lint/lint-spelling.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-spelling.sh b/test/lint/lint-spelling.sh
index b3e558b02a..8808fbc3c6 100755
--- a/test/lint/lint-spelling.sh
+++ b/test/lint/lint-spelling.sh
@@ -14,7 +14,7 @@ if ! command -v codespell > /dev/null; then
exit 0
fi
-IGNORE_WORDS_FILE=test/lint/lint-spelling.ignore-words.txt
+IGNORE_WORDS_FILE="test/lint/spelling.ignore-words.txt"
mapfile -t FILES < <(git ls-files -- ":(exclude)build-aux/m4/" ":(exclude)contrib/seeds/*.txt" ":(exclude)depends/" ":(exclude)doc/release-notes/" ":(exclude)src/leveldb/" ":(exclude)src/crc32c/" ":(exclude)src/qt/locale/" ":(exclude)src/qt/*.qrc" ":(exclude)src/secp256k1/" ":(exclude)src/minisketch/" ":(exclude)src/univalue/" ":(exclude)contrib/builder-keys/keys.txt" ":(exclude)contrib/guix/patches")
if ! codespell --check-filenames --disable-colors --quiet-level=7 --ignore-words=${IGNORE_WORDS_FILE} "${FILES[@]}"; then
echo "^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in ${IGNORE_WORDS_FILE}"