Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianBarabonkovQC authored Nov 8, 2023
1 parent 9fedde9 commit c559de3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,23 @@ 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"
beginn = "beginn"
ende = "ende"
iif = "iif"
ist = "ist"
feld = "feld"
feld = "field"
sie = "sie"
tage = "tage"
titel = "titel"
```
Expand Down

0 comments on commit c559de3

Please sign in to comment.