From feed1a83a9e7b63563278d4e86919077b4de2d72 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 4 Dec 2022 21:28:20 +0700 Subject: [PATCH] add ignore-words to make it easier to --- .codespell/ignore-words.txt | 8 ++++++++ .codespellrc | 10 ++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 .codespell/ignore-words.txt diff --git a/.codespell/ignore-words.txt b/.codespell/ignore-words.txt new file mode 100644 index 000000000..e37d97a9f --- /dev/null +++ b/.codespell/ignore-words.txt @@ -0,0 +1,8 @@ +synopsys +sie +tre +hsi +fro +dout +mot +te diff --git a/.codespellrc b/.codespellrc index 19a877e2a..142bbbe1a 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,8 +1,10 @@ # See: https://github.com/codespell-project/codespell#using-a-config-file [codespell] -# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here: -ignore-words-list = synopsys, sie, tre, hsi, fro, dout, mot, te +# In the event of a false positive, add the problematic word, in all lowercase, to 'ignore-words.txt' (one word per line). +# Or copy & paste the whole problematic line to 'exclude-file.txt' +ignore-words = .codespell/ignore-words.txt +exclude-file = .codespell/exclude-file.txt check-filenames = check-hidden = -skip = .cproject,./.git,./hw/mcu,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./test/vendor,./tests_obsolete -exclude-file = ./.codespell/exclude-file.txt +count = +skip = .cproject,./.git,./hw/mcu,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./test/vendor,./tests_obsolete,./tools/uf2