Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Shut codespell up

James Bruntonc55beaceaddf
diff --git a/scripts/sync_en_us_spelling.py b/scripts/sync_en_us_spelling.py
index b16d1be1b6..73c233ee36 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))