From c559de3791b3b0e9069d738f53b5f63e6e7ca7a7 Mon Sep 17 00:00:00 2001 From: Damian Barabonkov <65635505+DamianBarabonkovQC@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:37:00 +0100 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 57e5e0e..785591d 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,14 @@ Add this to your `.pre-commit-config.yaml` ``` ### Some Useful Exceptions -For the exact documentation on how to ignore certain typos, see: https://github.com/crate-ci/typos#false-positives +For the exact documentation on how to ignore certain typos, see: https://github.com/crate-ci/typos#false-positives . This config +can be included in the `pyproject.toml` of a repository as shown below. In our projects, some shorter German works are too similar to English words and are picked up. Here is a list of commonly encountered typos: ```toml -[default.extend-words] +[tool.typos] +[tool.typos.default.extend-words] als = "als" alle = "alle" autor = "autor" @@ -31,7 +33,8 @@ beginn = "beginn" ende = "ende" iif = "iif" ist = "ist" -feld = "feld" +feld = "field" +sie = "sie" tage = "tage" titel = "titel" ```