From 820a4ded67efb35f4b5f74ecfd83c0cfb880e74d Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Wed, 8 Mar 2023 18:49:44 +0100 Subject: [PATCH] chore: Add typos configuration --- .github/workflows/build.yaml | 2 +- misc/typos.toml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 misc/typos.toml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8da7c327d..4cd2791db 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -537,4 +537,4 @@ jobs: pip3 install codespell==2.1.0 - name: Run codespell - run: codespell -q 7 -S ".git,build*,./src/third_party/*" -I misc/codespell-allowlist.txt + run: codespell -q 7 -S ".git,build*,./misc/typos.toml,./src/third_party/*" -I misc/codespell-allowlist.txt diff --git a/misc/typos.toml b/misc/typos.toml new file mode 100644 index 000000000..f1eb931f0 --- /dev/null +++ b/misc/typos.toml @@ -0,0 +1,9 @@ +[default.extend-words] +fo = "fo" +hda = "hda" +ot = "ot" +seve = "seve" +thi = "thi" + +[files] +extend-exclude = ["misc/codespell-allowlist.txt", "src/third_party"] -- 2.47.2