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:
commit
20e1e161a3
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…
Reference in New Issue
Block a user