57 lines
1.4 KiB
TOML
57 lines
1.4 KiB
TOML
[files]
|
|
# The following files will be excluded from spell check during commits
|
|
extend-exclude = [
|
|
"third_party",
|
|
"patches",
|
|
"build",
|
|
# Skip `creater` check in these files
|
|
"paddle/fluid/inference/tensorrt/convert/CMakeLists.txt",
|
|
# Skip `exlucsive` check in these files for OldIR compatibility
|
|
"paddle/phi/ops/yaml/op_version.yaml",
|
|
]
|
|
|
|
[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'
|
|
certifi = "certifi"
|
|
Clas = 'Clas'
|
|
clen = 'clen'
|
|
Copyer = 'Copyer'
|
|
datas = 'datas'
|
|
dota = 'dota'
|
|
dout = "dout"
|
|
entrys = 'entrys'
|
|
feeded = 'feeded'
|
|
grad = "grad"
|
|
Halfs = 'Halfs'
|
|
kinf = 'kinf'
|
|
operants = 'operants'
|
|
Optin = 'Optin'
|
|
padd = 'padd'
|
|
pash = 'pash'
|
|
setp = 'setp'
|
|
splited = 'splited'
|
|
splitted = 'splitted'
|
|
statis = 'statis'
|
|
tood = 'tood'
|
|
UNEXPECT = 'UNEXPECT'
|
|
unpacket = "unpacket"
|
|
vaccum = 'vaccum'
|
|
|
|
[default.extend-identifiers]
|
|
NPY_ARRAY_WRITEABLE_ = "NPY_ARRAY_WRITEABLE_"
|