mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 14:07:21 +08:00
[None][chore] add a EditorConfig config (#6897)
Signed-off-by: Zhenhua Wang <zhenhuaw@nvidia.com>
This commit is contained in:
parent
b23fdfc62f
commit
fadb5e75dd
24
.editorconfig
Normal file
24
.editorconfig
Normal file
@ -0,0 +1,24 @@
|
||||
# Auto basic formatting when saving file with EditorConfig https://editorconfig.org/
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
# make
|
||||
[Makefile*]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# c++
|
||||
[*.{cpp,cu,h}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# python
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
Loading…
Reference in New Issue
Block a user