Просмотр исходного кода

add ignore-words to make it easier to

hathach 3 лет назад
Родитель
Сommit
feed1a83a9
2 измененных файлов с 14 добавлено и 4 удалено
  1. 8 0
      .codespell/ignore-words.txt
  2. 6 4
      .codespellrc

+ 8 - 0
.codespell/ignore-words.txt

@@ -0,0 +1,8 @@
+synopsys
+sie
+tre
+hsi
+fro
+dout
+mot
+te

+ 6 - 4
.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