Some ignores for codespell

pull/3630/head
Yaroslav Halchenko 2023-11-16 10:53:31 -05:00
parent 4b4c728558
commit 3b3fcde2e6
1 changed files with 8 additions and 3 deletions

View File

@ -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