forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_typos.toml
53 lines (51 loc) · 1.48 KB
/
_typos.toml
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
50
51
52
53
[files]
# The following files will be excluded from spell check during commits
extend-exclude = [
"third_party",
"patches",
"build",
# Skip `intermidiate` check in these files
"test/cpp/eager/task_tests/CMakeLists.txt",
"test/cpp/eager/task_tests/hook_test_intermidiate.cc",
# Skip `creater` check in these files
"paddle/fluid/inference/tensorrt/convert/CMakeLists.txt",
"paddle/fluid/inference/tensorrt/convert/generic_and_custom_plugin_creater.cc",
"paddle/fluid/inference/tensorrt/convert/test_custom_plugin_creater.cc",
]
[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$",
# Ignore block by `# typos: off` and `# typos: on`
"(?s)(#|//)\\s*typos:\\s*off.*?\\n\\s*(#|//)\\s*typos:\\s*on"
]
[default.extend-words]
# PaddlePaddle specific words
arange = "arange"
astroid = 'astroid'
cacl = 'cacl'
CANN = 'CANN'
Clas = 'Clas'
clen = 'clen'
datas = 'datas'
dota = 'dota'
dout = "dout"
entrys = 'entrys'
feeded = 'feeded'
grad = "grad"
Halfs = 'Halfs'
kinf = 'kinf'
operants = 'operants'
Optin = 'Optin'
padd = 'padd'
pash = 'pash'
splited = 'splited'
splitted = 'splitted'
statis = 'statis'
UNEXPECT = 'UNEXPECT'
tood = 'tood'
unpacket = "unpacket"
vaccum = 'vaccum'