forked from rerun-io/rerun
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.typos.toml
More file actions
251 lines (233 loc) · 6.36 KB
/
Copy path.typos.toml
File metadata and controls
251 lines (233 loc) · 6.36 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# https://github.com/crate-ci/typos
# install: cargo install typos-cli
# run: typos
[files]
extend-exclude = [
".typos.toml",
"*.snap",
"crates/viewer/re_ui/src/design_tokens.rs",
"examples/assets",
"rerun_cpp/src/rerun/archetypes/image.hpp", # TODO(emilk): remove once we remove from_greyscale8
"rerun_cpp/src/rerun/archetypes/image_ext.cpp", # TODO(emilk): remove once we remove from_greyscale8
"rerun_cpp/src/rerun/third_party/cxxopts.hpp",
"*.png",
"*.mp4",
"*.rrd",
]
[default.extend-words]
FUL = "FUL" # forward-up-left coordinate system
Isse = "Isse" # It's a name
lod = "lod" # level-of-detail
ND = "ND" # np.NDArray
opf = "opf" # Open Photogrammetry Format (OPF) file
somes = "somes" # many `Some`
teh = "teh" # part of @teh-cmc
trak = "trak" # mp4 crate spelling
typ = "typ" # We cannot write "type" in rust
writeable = "writeable" # NumPy's attribute is `ndarray.flags.writeable`, not `writable`
ws = "ws" # web-sockets, as in "ws://…"
Yoh = "Yoh" # Part of @YohDeadfall
# Use the more common spelling
adaptor = "adapter"
adaptors = "adapters"
# For consistency we prefer American English:
aeroplane = "airplane"
amortisation = "amortization"
amortise = "amortize"
amortised = "amortized"
amortises = "amortizes"
amortising = "amortizing"
analogue = "analog"
analyse = "analyze"
appetiser = "appetizer"
arbour = "arbor"
armour = "armor"
artefact = "artifact"
authorise = "authorize"
behaviour = "behavior"
calibre = "caliber"
#cancelled = "canceled" # allow 'cancelled' since Arrow uses it.
candour = "candor"
capitalise = "capitalize"
catalogue = "catalog"
categorisation = "categorization"
categorise = "categorize"
categorised = "categorized"
centralisation = "centralization"
centralise = "centralize"
centralised = "centralized"
centre = "center"
characterise = "characterize"
chequerboard = "checkerboard"
chequered = "checkered"
civilise = "civilize"
clamour = "clamor"
colonise = "colonize"
colour = "color"
coloured = "colored"
cosy = "cozy"
criticise = "criticize"
defence = "defense"
demeanour = "demeanor"
dialogue = "dialog"
distil = "distill"
doughnut = "donut"
dramatise = "dramatize"
draught = "draft"
emphasise = "emphasize"
endeavour = "endeavor"
enrol = "enroll"
epilogue = "epilog"
equalise = "equalize"
familiarise = "familiarize"
familiarised = "familiarized"
favour = "favor"
favourite = "favorite"
fibre = "fiber"
finalisation = "finalization"
finalise = "finalize"
finalised = "finalized"
finalises = "finalizes"
finalising = "finalizing"
flavour = "flavor"
fulfil = "fufill"
gaol = "jail"
generalisation = "generalization"
generalise = "generalize"
generalised = "generalized"
grey = "gray"
greys = "grays"
greyscale = "grayscale"
harbour = "habor"
honour = "honor"
humour = "humor"
initialisation = "initialization"
initialise = "initialize"
initialised = "initialized"
initialises = "initializes"
initialising = "initializing"
instalment = "installment"
instil = "instill"
itemise = "itemize"
itemised = "itemized"
jewellery = "jewelry"
kerb = "curb"
labour = "labor"
litre = "liter"
lustre = "luster"
maximisation = "maximization"
maximise = "maximize"
maximised = "maximized"
meagre = "meager"
metre = "meter"
minimisation = "minimization"
minimise = "minimize"
minimised = "minimized"
mobilise = "mobilize"
monologue = "monolog"
naturalise = "naturalize"
neighbour = "neighbor"
neighbourhood = "neighborhood"
neighbouring = "neighboring"
neighbours = "neighbors"
normalise = "normalize"
normalised = "normalized"
odour = "odor"
offence = "offense"
optimisation = "optimization"
optimise = "optimize"
optimised = "optimized"
optimising = "optimizing"
organise = "organize"
parlour = "parlor"
penalise = "penalize"
penalised = "penalized"
plough = "plow"
popularise = "popularize"
pretence = "pretense"
prioritisation = "prioritization"
prioritise = "prioritize"
prioritised = "prioritized"
programme = "program"
prologue = "prolog"
rancour = "rancor"
randomise = "randomize"
randomised = "randomized"
realise = "realize"
recognise = "recognize"
recognised = "recognized"
rigour = "rigor"
rumour = "rumor"
sabre = "saber"
satirise = "satirize"
saviour = "savior"
savour = "savor"
sceptical = "skeptical"
sceptre = "scepter"
sepulchre = "sepulcher"
serialisation = "serialization"
serialise = "serialize"
serialised = "serialized"
skilful = "skillful"
sombre = "somber"
specialisation = "specialization"
specialise = "specialize"
specialised = "specialized"
splendour = "splendor"
stabilise = "stabilize"
stabilised = "stabilized"
standardise = "standardize"
sulphur = "sulfur"
summarisation = "summarization"
summarise = "summarize"
summarised = "summarized"
symbolise = "symbolize"
synchronisation = "synchronization"
synchronise = "synchronize"
synchronised = "synchronized"
synchronises = "synchronizes"
synchronising = "synchronizing"
theatre = "theater"
tonne = "ton"
travelogue = "travelog"
tumour = "tumor"
utilisation = "utilization"
utilise = "utilize"
utilised = "utilized"
valour = "valor"
vaporise = "vaporize"
vigour = "vigor"
visualisation = "visualization"
visualise = "visualize"
visualised = "visualized"
# End of American English section
# null-terminated is the name of the wikipedia article!
# https://en.wikipedia.org/wiki/Null-terminated_string
nullterminated = "null-terminated"
zeroterminated = "null-terminated"
zero-terminated = "null-terminated"
[default]
extend-ignore-re = [
# Work around for typos inside of hashes. These show up inside of ipynb.
# e.g. "f4e1caf9" -> `caf` should be `calf`
# Specifically limit ourselves to exactly 8 chars in a quoted string, or
# 16 character hashses following a leading underscore.
# Just don't spell "defaced" wrong.
"\"[a-f0-9]{8}\"",
"_[a-f0-9]{16}",
"np.arange", # Stands for "array range" and isn't a misspelling of "arrange".
"phc_[a-zA-Z0-9]*", # Posthog public key
"PNG.?", # Workaround for https://github.com/crate-ci/typos/issues/967
"_LEVL_", # Used in air_traffic_data.py
"thrEEone", # Used in a test
"notify_seeked", # Used in the `mcap` crate.
# There's a crate with this name.
"cros_codecs",
"cros-codecs",
"Secur32", # Referring to `Secur32.dll` on Windows.
"muh_scalars", # Weird name introduced in `crates/viewer/re_view_time_series/tests/basic.rs` introduced in https://github.com/rerun-io/rerun/pull/10713
"isse", # Name
"@[a-zA-Z]+", # GitHub user names
"\\[[a-f0-9]{7}\\]\\(https://github\\.com/rerun-io/rerun/commit/", # Commit SHA links in changelog
"SELECTed", # Past tense of SQL SELECT
]