mirror of https://github.com/fail2ban/fail2ban
Add skipping of codespell-ignore annotated lines
parent
b3bcd0a0f2
commit
5e9060a613
|
@ -5,7 +5,8 @@ check-hidden = true
|
|||
# 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 all urls as something with :// in it
|
||||
ignore-regex = (\b([A-Z][A-Z][A-Z]+|gir\.st)\b)|\[[a-zA-Z]+\][a-z]+\b|[a-z]+://\S+
|
||||
# Ignore all lines with codespell-ignore in them for pragma annotation
|
||||
ignore-regex = (\b([A-Z][A-Z][A-Z]+|gir\.st)\b)|\[[a-zA-Z]+\][a-z]+\b|[a-z]+://\S+|.*codespell-ignore.*
|
||||
# some oddly named variables, some names, etc
|
||||
# wee -- comes in regex etc for weeks
|
||||
ignore-words-list = theis,timere,alls,wee,wight,ans
|
||||
|
|
Loading…
Reference in New Issue