-
Notifications
You must be signed in to change notification settings - Fork 590
/
.typos.toml
44 lines (42 loc) · 1.69 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
[default.extend-words]
indexs = "indices" # Both are valid, just pick one.
Stichting = "Stichting" # This is Dutch for "Foundation". From DuckDB.
FPR = "FPR" # False Positive Rate
inout = "inout" # This is a SQL keyword!
numer = "numer" # numerator
nd = "nd" # N-dimentional / 2nd
steam = "stream" # You played with Steam games too much.
ser = "ser" # Serialization
# Some weird short variable names
ot = "ot"
bui = "bui" # BackwardUserIterator
mosquitto = "mosquitto" # This is a MQTT broker.
abd = "abd"
iy = "iy"
Pn = "Pn"
[default.extend-identifiers]
TABLE_SCHEM = "TABLE_SCHEM"
[files]
extend-exclude = [
"src/tests/regress/data",
"e2e_test",
"**/*.svg",
"scripts",
"src/sqlparser/tests/testdata/",
"src/frontend/planner_test/tests/testdata",
"src/tests/sqlsmith/tests/freeze",
"src/license/src/manager.rs",
"Cargo.lock",
"**/Cargo.toml",
"**/go.mod",
"**/go.sum",
# https://github.com/risingwavelabs/risingwave/blob/0ce6228df6a4da183ae91146f2cdfff1ca9cc6a7/src/common/src/cast/mod.rs#L30
# We don't want to fix "fals" here, but may want in other places.
# Ideally, we should just ignore that line: https://github.com/crate-ci/typos/issues/316
"src/common/src/cast/mod.rs",
"src/tests/simulation/tests/integration_tests/scale/shared_source.rs",
# We don't want to fix "Divy" here, but may want in other places.
"integration_tests/deltalake-sink/spark-script/run-sql-file.sh",
# These files are copied from debezium connector, we don't want to fix their typos
"java/connector-node/risingwave-source-cdc/src/main/java/io/debezium/connector/postgresql/*.java"
]