From 5765523b4c7a0d837afedba5f1a12684a283b34f Mon Sep 17 00:00:00 2001 From: Micha Hobert Date: Thu, 7 Dec 2023 15:50:02 +0100 Subject: [PATCH] Add new filters to pyspelling --- .spellcheck.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.spellcheck.yml b/.spellcheck.yml index ed57a2798..65e19dc53 100644 --- a/.spellcheck.yml +++ b/.spellcheck.yml @@ -15,6 +15,18 @@ matrix: ignores: - code - pre + - pyspelling.filters.context: + context_visible_first: true + escapes: \\[\\`~] + delimiters: + - open: '(?s)^(?P *`{3,})$' + close: '^(?P=open)$' + - open: '(?P`+)' + close: '(?P=open)' + - open: '(?P# {"+)' + close: '(?P=open)' + - open: '# {' + close: '}' sources: - '**/*.md|!resources/references/adr/*|!resources/guidelines/code/core/*' default_encoding: utf-8