File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
export LC_ALL=C
11
11
12
+ if ! command -v codespell > /dev/null; then
13
+ echo " Skipping spell check linting since codespell is not installed."
14
+ exit 0
15
+ fi
16
+
12
17
IGNORE_WORDS_FILE=test/lint/lint-spelling.ignore-words.txt
13
18
if ! codespell --check-filenames --disable-colors --quiet-level=7 --ignore-words=${IGNORE_WORDS_FILE} $( git ls-files -- " :(exclude)build-aux/m4/" " :(exclude)contrib/seeds/*.txt" " :(exclude)depends/" " :(exclude)doc/release-notes/" " :(exclude)src/leveldb/" " :(exclude)src/qt/locale/" " :(exclude)src/secp256k1/" " :(exclude)src/univalue/" ) ; then
14
19
echo " ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in ${IGNORE_WORDS_FILE} "
You can’t perform that action at this time.
0 commit comments