mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 04:44:13 +08:00
See also:
54976bca10/.gitattributes (L1)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156032
Approved by: https://github.com/seemethere, https://github.com/ezyang
37 lines
490 B
INI
37 lines
490 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
|
|
# Python
|
|
[*.{py,pyi,py.in,pyi.in}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
# C/C++/CUDA
|
|
[*.{cpp,hpp,cxx,cc,c,h,cu,cuh}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Objective-C
|
|
[*.{mm,m,M}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Clang tools
|
|
[.clang-{format,tidy}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Make
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
# Batch file
|
|
[*.bat]
|
|
indent_style = space
|
|
indent_size = 2
|
|
end_of_line = crlf
|