forked from JaxGaussianProcesses/GPJax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pyspelling.yml
49 lines (49 loc) · 1.28 KB
/
.pyspelling.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
matrix:
- name: Python Source
aspell:
lang: en
d: en_GB
dictionary:
wordlists:
- static/wordlist-custom.txt
pipeline:
- pyspelling.filters.context:
context_visible_first: true
delimiters:
# needs to come *before* pyspelling.filters.python
- open: '__all__ = \[[^]]*'
close: '\]'
- pyspelling.filters.python:
strings: true
- pyspelling.filters.context:
context_visible_first: true
# escapes: \\[\\`~]
delimiters:
# ignore code examples (up to end of line)
- open: '>>>'
close: '$'
# ignore .. math:: blocks (up to next blank line)
- open: '(?s)^(?P<open> *)\.\. math::[\n]*'
close: '^[ ]*$'
# ignore :math:`` inline
- open: ':math:(?P<open>`+)'
close: '(?P=open)'
# Ignore multiline content between fences (fences can have 3 or more back ticks)
# ```
# content
# ```
- open: '(?s)^(?P<open> *`{3,})$'
close: '^(?P=open)$'
# Ignore text between inline back ticks
- open: '(?P<open>`+)'
close: '(?P=open)'
# URLs
- open: 'http://'
close: '[: \n]'
- open: 'https://'
close: '[: \n]'
# pragma: ...
- open: 'pragma:'
close: '$'
sources:
- gpjax/**/[a-z]*.py