From e06671d0fcd404d0e5871f55dc77870643bac040 Mon Sep 17 00:00:00 2001 From: francois-unity <105223066+francois-unity@users.noreply.github.com> Date: Tue, 6 Oct 2026 14:41:22 -0400 Subject: [PATCH] Let typos accept the renamed Noto Sans font file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream #317 renamed `NotoSans[wdth,wght].subset.ttf` to `NotoSans[wdth-wght].subset.ttf`, and `typos.toml` only ignores the comma spelling. So `typos` reads `wdth`, the OpenType width axis tag, as a misspelled "width" in the asset’s file name and in `crates/gpui_ce_fonts/src/lib.rs`, and fails on every PR into `unity/a11y-automation`. The ignore pattern now accepts either separator, since the font’s README still names the comma spelling. --- typos.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/typos.toml b/typos.toml index 1ff0f70be5..0cb8908dcd 100644 --- a/typos.toml +++ b/typos.toml @@ -22,10 +22,11 @@ extend-ignore-re = [ # Stripped version of reserved keyword `type` "typ", "\\\\u\\{[0-9A-Fa-f]+\\}", - # OpenType width axis references and the Noto Sans variable font filename. + # OpenType width axis references and the Noto Sans variable font filename, + # which its README spells with a comma and the asset with a dash. "`wdth`", "'wdth'", - 'NotoSans\[wdth,wght\]\.subset\.ttf', + 'NotoSans\[wdth[,-]wght\]\.subset\.ttf', ] check-filename = true