@@ -174,3 +174,186 @@ respect-ignore-files = true
174174
175175[tool .ty .environment ]
176176python = " ./.venv"
177+
178+ [tool .typos .files ]
179+ # these files may be written in non english words
180+ extend-exclude = [" tests/models/fixtures/*" , " tests/prompts/*" ,
181+ " benchmarks/sonnet.txt" , " tests/lora/data/*" , " build/*" ,
182+ " vllm/third_party/*" ]
183+ ignore-hidden = true
184+ ignore-files = true
185+ ignore-dot = true
186+ ignore-vcs = true
187+ ignore-global = true
188+ ignore-parent = true
189+
190+ [tool .typos .default ]
191+ binary = false
192+ check-filename = false
193+ check-file = true
194+ unicode = true
195+ ignore-hex = true
196+ identifier-leading-digits = false
197+ locale = " en"
198+ extend-ignore-identifiers-re = [" NVML_*" , " .*Unc.*" , " .*_thw" ,
199+ " .*UE8M0.*" , " .*[UE4M3|ue4m3].*" , " .*eles.*" ,
200+ " .*[Tt]h[rR].*" ]
201+ extend-ignore-words-re = []
202+ extend-ignore-re = []
203+
204+ [tool .typos .default .extend-identifiers ]
205+ bbc5b7ede = " bbc5b7ede"
206+ womens_doubles = " womens_doubles"
207+ v_2nd = " v_2nd"
208+ # splitted_input = "splitted_input"
209+ NOOPs = " NOOPs"
210+ typ = " typ"
211+ nin_shortcut = " nin_shortcut"
212+ UperNetDecoder = " UperNetDecoder"
213+ subtile = " subtile"
214+ cudaDevAttrMaxSharedMemoryPerBlockOptin = " cudaDevAttrMaxSharedMemoryPerBlockOptin"
215+ SFOuput = " SFOuput"
216+ # huggingface transformers repo uses these words
217+ depthwise_seperable_out_channel = " depthwise_seperable_out_channel"
218+ DepthWiseSeperableConv1d = " DepthWiseSeperableConv1d"
219+ depthwise_seperable_CNN = " depthwise_seperable_CNN"
220+
221+ [tool .typos .default .extend-words ]
222+ iy = " iy"
223+ tendencias = " tendencias"
224+ # intel cpu features
225+ tme = " tme"
226+ dout = " dout"
227+ Pn = " Pn"
228+ arange = " arange"
229+
230+ [tool .typos .type .py ]
231+ extend-glob = []
232+ extend-ignore-identifiers-re = []
233+ extend-ignore-words-re = []
234+ extend-ignore-re = []
235+
236+ [tool .typos .type .py .extend-identifiers ]
237+ arange = " arange"
238+ NDArray = " NDArray"
239+ EOFError = " EOFError"
240+ fo = " fo"
241+ ba = " ba"
242+
243+ [tool .typos .type .py .extend-words ]
244+
245+ [tool .typos .type .cpp ]
246+ extend-glob = [" *.cu" ]
247+ extend-ignore-identifiers-re = []
248+ extend-ignore-words-re = []
249+ extend-ignore-re = []
250+
251+ [tool .typos .type .cpp .extend-identifiers ]
252+ countr_one = " countr_one"
253+ k_ot = " k_ot"
254+ ot = " ot"
255+
256+ [tool .typos .type .cpp .extend-words ]
257+
258+ [tool .typos .type .rust ]
259+ extend-glob = []
260+ extend-ignore-identifiers-re = []
261+ extend-ignore-words-re = []
262+ extend-ignore-re = []
263+
264+ [tool .typos .type .rust .extend-identifiers ]
265+ flate2 = " flate2"
266+
267+ [tool .typos .type .rust .extend-words ]
268+ ser = " ser"
269+
270+ [tool .typos .type .lock ]
271+ extend-glob = []
272+ check-file = false
273+ extend-ignore-identifiers-re = []
274+ extend-ignore-words-re = []
275+ extend-ignore-re = []
276+
277+ [tool .typos .type .lock .extend-identifiers ]
278+
279+ [tool .typos .type .lock .extend-words ]
280+
281+ [tool .typos .type .jl ]
282+ extend-glob = []
283+ extend-ignore-identifiers-re = []
284+ extend-ignore-words-re = []
285+ extend-ignore-re = []
286+
287+ [tool .typos .type .jl .extend-identifiers ]
288+
289+ [tool .typos .type .jl .extend-words ]
290+ modul = " modul"
291+ egals = " egals"
292+ usig = " usig"
293+ egal = " egal"
294+
295+ [tool .typos .type .go ]
296+ extend-glob = []
297+ extend-ignore-identifiers-re = []
298+ extend-ignore-words-re = []
299+ extend-ignore-re = []
300+
301+ [tool .typos .type .go .extend-identifiers ]
302+ flate = " flate"
303+
304+ [tool .typos .type .go .extend-words ]
305+
306+ [tool .typos .type .css ]
307+ extend-glob = []
308+ extend-ignore-identifiers-re = []
309+ extend-ignore-words-re = []
310+ extend-ignore-re = []
311+
312+ [tool .typos .type .css .extend-identifiers ]
313+ nd = " nd"
314+
315+ [tool .typos .type .css .extend-words ]
316+
317+ [tool .typos .type .man ]
318+ extend-glob = []
319+ extend-ignore-identifiers-re = []
320+ extend-ignore-words-re = []
321+ extend-ignore-re = []
322+
323+ [tool .typos .type .man .extend-identifiers ]
324+ Nd = " Nd"
325+
326+ [tool .typos .type .man .extend-words ]
327+
328+ [tool .typos .type .cert ]
329+ extend-glob = []
330+ check-file = false
331+ extend-ignore-identifiers-re = []
332+ extend-ignore-words-re = []
333+ extend-ignore-re = []
334+
335+ [tool .typos .type .cert .extend-identifiers ]
336+
337+ [tool .typos .type .cert .extend-words ]
338+
339+ [tool .typos .type .sh ]
340+ extend-glob = []
341+ extend-ignore-identifiers-re = []
342+ extend-ignore-words-re = []
343+ extend-ignore-re = []
344+
345+ [tool .typos .type .sh .extend-identifiers ]
346+ ot = " ot"
347+
348+ [tool .typos .type .sh .extend-words ]
349+
350+ [tool .typos .type .vimscript ]
351+ extend-glob = []
352+ extend-ignore-identifiers-re = []
353+ extend-ignore-words-re = []
354+ extend-ignore-re = []
355+
356+ [tool .typos .type .vimscript .extend-identifiers ]
357+ windo = " windo"
358+
359+ [tool .typos .type .vimscript .extend-words ]
0 commit comments