Skip to content

Commit

Permalink
ci(.spellcheck.yaml): Add new spellcheck delimiter to escape RST dire…
Browse files Browse the repository at this point in the history
…ctives
  • Loading branch information
samjwu committed Nov 17, 2023
1 parent 8d87fd3 commit 5a98ba6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .spellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Expand Down

0 comments on commit 5a98ba6

Please sign in to comment.