From 0eec37c17c2d4a521cd6e2040bb892c5903248ec Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 12 Jul 2025 10:43:54 +0200 Subject: [PATCH] typos: fixup Apparently regexps do not work as expected. Also seems to pick up some implicit rule from the local machine, but found no option to make the hidden magic visible. --- .github/scripts/typos.sh | 1 + .github/scripts/typos.toml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/scripts/typos.sh b/.github/scripts/typos.sh index 0fc77ccdd3..7dbadf0634 100755 --- a/.github/scripts/typos.sh +++ b/.github/scripts/typos.sh @@ -10,5 +10,6 @@ cd "$(dirname "${0}")"/../.. git ls-files \ | grep -v -E '(codespell-ignore\.txt|spellcheck\.words|/wcurl|/THANKS)' \ | typos \ + --isolated \ --config '.github/scripts/typos.toml' \ --file-list - diff --git a/.github/scripts/typos.toml b/.github/scripts/typos.toml index e0c3bea035..bd5d7f3241 100644 --- a/.github/scripts/typos.toml +++ b/.github/scripts/typos.toml @@ -4,5 +4,9 @@ [default] extend-ignore-identifiers-re = [ - "(GOST)", + "(ba|BA|fo|Fo|FU|Iy|ND|OT|pn|PN|ue|UE)", + "(anc|bck|ben|CNA|ECT|EDE|edn|ein|Jod|kno|MEK|Nam|Ned|noo|nin|nto|ser|ths|Typ|typ|URE|wrk)", + "(admi|alue|CLEA|clen|dout|GOST|HELO|helo|htpt|inex|PARM|parm|PASE)", + "(HEADE|numer|optin|parms|stati|ttests)", + "(Januar|passin|Passiv|perfec|PUNICODE|TEMPLAT|varius)", ]