]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Add typos configuration
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 8 Mar 2023 17:49:44 +0000 (18:49 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 11 Mar 2023 12:41:30 +0000 (13:41 +0100)
.github/workflows/build.yaml
misc/typos.toml [new file with mode: 0644]

index 8da7c327d91a0c959e6322bd0bf9746756de0b82..4cd2791db508a302a128f2b2b13ad040802be6b8 100644 (file)
@@ -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 (file)
index 0000000..f1eb931
--- /dev/null
@@ -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"]