From b0f8fc47b432655a79af56dfb2d371379ca06e1f Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 28 Jun 2026 16:02:04 +0200 Subject: [PATCH] Ignore codespell false positive on "wasn't" contraction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The website spellcheck runs codespell over the crawled rendered HTML, where apostrophes are HTML entities (`wasn't`). codespell can't decode the entity, so it tokenizes "wasn" and reports `wasn ==> wasn't, was` on www.ultralytics.com/glossary/model-monitoring and /multimodal-rag — even though the source text is the correct "wasn't". Add `wasn't,wasn` to the ignore list, mirroring the existing `couldn't,couldn` entry for the same entity-encoded-apostrophe case. --- .github/workflows/links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 4702b2d7c51..97392cd8dad 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -139,7 +139,7 @@ jobs: --builtin clear,rare,informal,en-GB_to_en-US \ --uri-ignore-words-list "*" \ --ignore-regex '\.alls\b' \ - --ignore-words-list "Ain't,grey,writeable,MENAT,Hart,wither,Bund,DED,AKS,VAs,RepResNet,iDenfy,Idenfy,WIT,Smoot,EHR,ROUGE,ALS,iTerm,Carmel,FPR,Hach,Calle,ore,COO,MOT,crate,nd,ned,strack,dota,ane,segway,fo,gool,winn,commend,bloc,nam,afterall,skelton,goin,tread,braket,corse,SoM,couldn't,couldn,nin,cancelled,MapPin,cann,CANN,Vektor,MITRE,Confidencial" \ + --ignore-words-list "Ain't,grey,writeable,MENAT,Hart,wither,Bund,DED,AKS,VAs,RepResNet,iDenfy,Idenfy,WIT,Smoot,EHR,ROUGE,ALS,iTerm,Carmel,FPR,Hach,Calle,ore,COO,MOT,crate,nd,ned,strack,dota,ane,segway,fo,gool,winn,commend,bloc,nam,afterall,skelton,goin,tread,braket,corse,SoM,couldn't,couldn,wasn't,wasn,nin,cancelled,MapPin,cann,CANN,Vektor,MITRE,Confidencial" \ --skip "*.pt,*.pth,*.torchscript,*.onnx,*.tflite,*.pb,*.bin,*.param,*.mlmodel,*.engine,*.npy,*.data*,*.csv,*pnnx*,*venv*,*translat*,*lock*,__pycache__*,*.ico,*.jpg,*.png,*.mp4,*.mov,/runs,/.git,./docs/mkdocs_??.yml" \ 2>&1 || true)