summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2023-03-08 18:49:44 +0100
committerJoel Rosdahl <joel@rosdahl.net>2023-03-11 13:41:30 +0100
commit820a4ded67efb35f4b5f74ecfd83c0cfb880e74d (patch)
treee9a5004489c3e6c33f3815c4deb4666cce705a46
parentd099c1804f56e7a357c8c8473cacf186da0d5d3e (diff)
downloadccache-820a4ded67efb35f4b5f74ecfd83c0cfb880e74d.tar.gz
chore: Add typos configuration
-rw-r--r--.github/workflows/build.yaml2
-rw-r--r--misc/typos.toml9
2 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 8da7c327..4cd2791d 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 00000000..f1eb931f
--- /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"]