Ignore typos in copyright statements

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-08 09:41:27 +02:00
parent 59b92ce9e6
commit e57bcd5c60
No known key found for this signature in database
GPG key ID: 03AEEC581F0139CE

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"