forked from PaddlePaddle/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_typos.toml
More file actions
32 lines (29 loc) · 1.01 KB
/
_typos.toml
File metadata and controls
32 lines (29 loc) · 1.01 KB
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
[files]
# The following files will be excluded from spell check during commits
extend-exclude = [
# Skip `Accuray ` check in these files
"docs/practices/cv/3D_image_classification_from_CT_scans.ipynb",
]
[default]
# Ignore 1-3 letter words, refer to https://github.com/crate-ci/typos/issues/1079
extend-ignore-words-re = ["^[a-zA-Z]{1,3}$"]
# refer to https://github.com/crate-ci/typos/blob/master/docs/reference.md#example-configurations
extend-ignore-re = [
# Ignore lines by `# typos: disable-line`
"(?Rm)^.*(#|//|<!--)\\s*typos:\\s*disable-line\\s*(?:-->)?$",
# Ignore block by `# typos: off` and `# typos: on`
"(?s)(#|//)\\s*typos:\\s*off.*?\\n\\s*(#|//)\\s*typos:\\s*on",
# Next-line ignore # typos:ignore-next-line
"(#|//|<!--)\\s*typos:ignore-next-line\\s*(?:-->)?\\n.*"
]
[default.extend-words]
# PaddlePaddle specific words
CANN = "CANN"
Clas = "Clas"
arange = "arange"
certifi = "certifi"
convnet = "convnet"
datas = "datas"
feeded = "feeded"
splitted = "splitted"
unsupport = "unsupport"