From 3b3fcde2e6bd0a092a259a5ed401b6c72ff46826 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Nov 2023 10:53:31 -0500 Subject: [PATCH] Some ignores for codespell --- .codespellrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.codespellrc b/.codespellrc index 3d4346a4..23b12a0b 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,5 +1,10 @@ [codespell] -skip = .git,*.pdf,*.svg,venv,.codespellrc +# THANKS - names +skip = .git,*.pdf,*.svg,venv,.codespellrc,THANKS,*test*.log,logs check-hidden = true -# ignore-regex = -# ignore-words-list = +# Ignore all acronyms etc as plenty e.g. in fail2ban/server/strptime.py +# Try to identify incomplete words which are part of a regex, hence having [] at the beginning +ignore-regex = \b[A-Z][A-Z][A-Z]+|\[[a-zA-Z]+\][a-z]+\b +# some oddly named variables, some names, etc +# wee -- comes in regex etc for weeks +ignore-words-list = theis,timere,alls,wee,wight