Skip to contentSkip to conversation

stdio is not a spelling error!

DISCUSSION Stephen Hemminger 2 participants 2 messages Jul 30 – Jul 31

lore
Share & tools
lore
#0 lore raw

Is there a way to get stdio into the allowed dictionary for codespell in CI.

CI reports this (a lot), I fixed it locally by having a revised codespell dict.

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'? #347: FILE: lib/capture/capture.c:13:
+#include <stdio.h>

           ^^^^^

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'? #1610: FILE: lib/capture/filter.c:6:
+#include <stdio.h>

           ^^^^^
#1 lore raw
Quoted 8 lines · Stephen Hemminger

Is there a way to get stdio into the allowed dictionary for codespell in CI.

CI reports this (a lot), I fixed it locally by having a revised codespell dict.

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'? #347: FILE: lib/capture/capture.c:13:
+#include <stdio.h>

Quoted 6 lines
           ^^^^^

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'? #1610: FILE: lib/capture/filter.c:6:
+#include <stdio.h>

           ^^^^^

It seems dpdk.org dictionnary used by checkpatch was not generated with devtools/build-dict.sh (that filters stdio).
I fixed it manually.

Signature · 1 line
David Marchand