From 2939aa07fd113b540a24b240bdabcb3d10fc9efb Mon Sep 17 00:00:00 2001 From: Sam Isaacson Date: Sun, 8 Nov 2026 08:21:43 -0500 Subject: [PATCH] Skip two-letter names in the typos spell check typos flagged the affects `ab!` and `ba!` of an A <--> B test problem (in #714) as misspellings of `by` and `be`. Two-letter identifiers are almost always names, so ignore them; longer misspellings are still caught. Co-Authored-By: Claude Opus 5.5 --- _typos.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_typos.toml b/_typos.toml index 932ab7ed2..069519777 100644 --- a/_typos.toml +++ b/_typos.toml @@ -1,3 +1,8 @@ +[default] +# Two-letter names, such as the affects `ab!` and `ba!` of an A <--> B test problem, are not +# misspellings +extend-ignore-identifiers-re = ["^[A-Za-z]{2}$"] + [default.extend-words] # Surname of an author cited in the SortingDirect references (McCollum et al.) Collum = "Collum"