1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #12554 from kaspar030/update_codespell

dist/tools/codespell: update ignore list
This commit is contained in:
Alexandre Abadie 2019-10-24 17:33:27 +02:00 committed by GitHub
commit 20e1e161a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")