mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
dist/tools/codespell: update ignore list
changed wan -> WAN, codespell help says: "Words are case sensitive based on how they are written in the dictionary file" Thus WAN doesn't match but "wan" does. Also added "dout" (short form of digital out).
This commit is contained in:
parent
720d4bde4a
commit
050c077be7
5
dist/tools/codespell/check.sh
vendored
5
dist/tools/codespell/check.sh
vendored
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user