Skip to content

Commit 94fc136

Browse files
committed
Update pyspelling.yml to ignore references
1 parent 779cf53 commit 94fc136

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.pyspelling.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ spellchecker: aspell
22
matrix:
33
- name: python
44
sources:
5-
- beginner_source/*.py
6-
- intermediate_source/*.py
5+
#- beginner_source/*.py
6+
#- intermediate_source/*.py
77
- advanced_source/*.py
8-
- recipes_source/*/*.py
8+
#- recipes_source/*/*.py
99
dictionary:
1010
wordlists:
1111
- en-wordlist.txt
@@ -45,6 +45,9 @@ matrix:
4545
- open: '\.\. (code-block|math)::.*$\n*'
4646
content: '(?P<first>(^(?P<indent>[ ]+).*$\n))(?P<other>(^([ \t]+.*|[ \t]*)$\n)*)'
4747
close: '(^(?![ \t]+.*$))'
48+
# Ignore references like "[1] Author: Title"
49+
- open: '\[\d\]'
50+
close: '\n'
4851
- pyspelling.filters.markdown:
4952
- pyspelling.filters.html:
5053
ignores:

advanced_source/usb_semisup_learn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
# augmentation of unlabeled data
7373
# - ``get_net_builder`` to create a model, here we use pretrained ViT
7474
# - ``get_algorithm`` to create the semi-supervised learning algorithm,
75-
# here we use FreeMatch and SoftMatch
75+
# here we use ``FreeMatch`` and ``SoftMatch``
7676
# - ``get_config``: to get default configuration of the algorithm
7777
# - ``Trainer``: a Trainer class for training and evaluating the
7878
# algorithm on dataset

0 commit comments

Comments
 (0)