Ignore typos in copyright statements (#2373)

Those lines may contain a first or last name that can be wrongfully
detected as typos.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2026-05-12 17:22:18 +02:00 committed by GitHub
parent 59b92ce9e6
commit 8bedf3882c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

6
.github/_typos.toml vendored
View file

@ -3,6 +3,12 @@ extend-exclude = ["/themes", "/attic", "/data-definitions", "*.css", "syntax.scs
[default]
check-filename = true
extend-ignore-re = [
# Ignore lines that start with `# Copyright ` (i.e. comments containing a
# copyright statement in YAML files), they may contain a first or last name
# that can be wrongfully detected as typos.
"(?Rm)^#\\s*Copyright\\s.*$",
]
[default.extend-identifiers]
au1ba7o = "au1ba7o"

View file

@ -0,0 +1 @@
Ignore typos in copyright statements.