From 5a98ba66f1359c6546ff5bbbfb604fe66fee94c6 Mon Sep 17 00:00:00 2001 From: Sam Wu Date: Fri, 17 Nov 2023 14:52:26 -0700 Subject: [PATCH] ci(.spellcheck.yaml): Add new spellcheck delimiter to escape RST directives --- .spellcheck.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.spellcheck.yaml b/.spellcheck.yaml index c1615209..76deac83 100644 --- a/.spellcheck.yaml +++ b/.spellcheck.yaml @@ -12,6 +12,9 @@ matrix: - pyspelling.filters.context: context_visible_first: true delimiters: + # RST directives + - open: '^\.{2}[ ]+[a-z-]+[:]{2}' + close: '$' # ReST code blocks - open: '^.{2}[ ]+code-block' close: '^[^\s]'