From e57bcd5c604ebae2060609ed428f5eb317b13a94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 8 May 2026 09:41:27 +0200 Subject: [PATCH] Ignore typos in copyright statements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Those lines may contain a first or last name that can be wrongfully detected as typos. Signed-off-by: Kévin Commaille --- .github/_typos.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/_typos.toml b/.github/_typos.toml index 3cdecaa3..3594f56b 100644 --- a/.github/_typos.toml +++ b/.github/_typos.toml @@ -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"