diff options
-rw-r--r-- | pyproject.toml | 21 | ||||
-rwxr-xr-x | tools/ci.sh | 11 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..3bc55993a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[tool.codespell] +count = "" +ignore-regex = '\b[A-Z]{3}\b' +ignore-words-list = "ans,asend,deques,dout,extint,hsi,iput,numer,technic,ure" +quiet-level = 3 +skip = """ +*/build*,\ +./.git,\ +./drivers/cc3100,\ +./lib,\ +./ports/cc3200/FreeRTOS,\ +./ports/cc3200/bootmgr/sl,\ +./ports/cc3200/hal,\ +./ports/cc3200/simplelink,\ +./ports/cc3200/telnet,\ +./ports/nrf/drivers/bluetooth/s1*,\ +./ports/renesas-ra,\ +./ports/stm32/usbhost,\ +./tests,\ +ACKNOWLEDGEMENTS,\ +""" diff --git a/tools/ci.sh b/tools/ci.sh index d44f341ce..0eb94b339 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -29,6 +29,17 @@ function ci_code_formatting_run { } ######################################################################################## +# code spelling + +function ci_code_spell_setup { + pip3 install codespell tomli +} + +function ci_code_spell_run { + codespell +} + +######################################################################################## # commit formatting function ci_commit_formatting_run { |