From c55beaceaddf4cf01cc0bda77b591271eb6f8615 Mon Sep 17 00:00:00 2001 From: James Brunton Date: Mon, 15 Jun 2026 14:20:25 +0100 Subject: [PATCH] Shut codespell up --- scripts/sync_en_us_spelling.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/scripts/sync_en_us_spelling.py b/scripts/sync_en_us_spelling.py index b16d1be1b..73c233ee3 100644 --- a/scripts/sync_en_us_spelling.py +++ b/scripts/sync_en_us_spelling.py @@ -200,12 +200,12 @@ _ISE_STEMS = [ "characteri", "stabili", "generali", - "specifi? ".strip(), + "specifi? ".strip(), # codespell:ignore specifi "sterili", "neutrali", "saniti", "tokeni", - "serie? ".strip(), + "serie? ".strip(), # codespell:ignore serie "alphabeti", "synthesi", "memori", @@ -213,7 +213,16 @@ _ISE_STEMS = [ "colouri", ] _ISE_STEMS = [s for s in _ISE_STEMS if s and not s.endswith("?")] -_ISE_SUFFIXES = ["se", "ses", "sed", "sing", "ser", "sers", "sation", "sations"] +_ISE_SUFFIXES = [ + "se", + "ses", + "sed", + "sing", + "ser", # codespell:ignore ser + "sers", + "sation", + "sations", +] for stem in _ISE_STEMS: for suf in _ISE_SUFFIXES: add(stem + suf, stem + suf.replace("s", "z", 1))