From 06e65d1166150240bd5c0f22ba02e84d3274933c Mon Sep 17 00:00:00 2001 From: Sneha Sarmokadam Date: Thu, 11 Nov 2021 20:14:19 +0530 Subject: [PATCH] Update .spellcheck.yml --- .spellcheck.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.spellcheck.yml b/.spellcheck.yml index e4ba581..dbdefd0 100644 --- a/.spellcheck.yml +++ b/.spellcheck.yml @@ -15,6 +15,12 @@ matrix: - pyspelling.filters.context: context_visible_first: true escapes: '^.*[\/\\][^\/\\]+$' + #Ignore content between backticks + - pyspelling.filters.context: + context_visible_first: true + delimiters: + - open: '`+[^`]+' + close: '`+' #Ignore for upper camel case - pyspelling.filters.context: context_visible_first: true @@ -27,6 +33,18 @@ matrix: delimiters: - open: '\b[a-z]+[A-Z]' close: '[a-z0-9]*\b' + #Ignore for constants in upper case + - pyspelling.filters.context: + context_visible_first: true + delimiters: + - open: '\b[A-Z]+' + close: '([_][A-Z]+)*\b' + #Ignore for special cases in CobiGen in upper camel case + - pyspelling.filters.context: + context_visible_first: true + delimiters: + - open: '\b__[A-Z][a-z0-9]+[A-Z]' + close: '[a-z0-9.]*__\b' - pyspelling.filters.context: context_visible_first: true escapes: \\[\\-~] @@ -37,3 +55,9 @@ matrix: # ---- - open: '(?s)^(?P *-{4,})$' close: '^(?P=open)$' + - pyspelling.filters.context: + context_visible_first: true + delimiters: + # Ignore multiline content between [source, *] and blank line + - open: '\[source,.*\]' + close: '^\s*$'