mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Add .editorconfig (#149193)
This adds an .editorconfig file to automatically configure devs local Editors / IDEs with the basic formatting rules of the project. List of supported editors: https://editorconfig.org/#pre-installed Pull Request resolved: https://github.com/pytorch/pytorch/pull/149193 Approved by: https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
66a7a49d64
commit
340beb7f7c
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@ -0,0 +1,14 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
# Python
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# Make
|
||||
[Makefile]
|
||||
indent_style = tab
|
Reference in New Issue
Block a user