mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Merge branch 'maint-0.3.2' into release-0.3.2
This commit is contained in:
commit
f5b9e43d0d
33
.editorconfig
Normal file
33
.editorconfig
Normal file
@ -0,0 +1,33 @@
|
||||
# this should work for all editors that support .editorconfig!
|
||||
#
|
||||
# on debian, emacs users should install elpa-editorconfig and vim
|
||||
# users should install vim-editorconfig.
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
# this remove final newline in some editors, instead of inserting it
|
||||
# insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
max_line_length = 79
|
||||
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
# to do not have final newline in python code
|
||||
insert_final_newline = true
|
||||
|
||||
[*.c, *.h]
|
||||
# done in tests and other cases do not use 2 spaces identations, so this
|
||||
# should be commented on those cases
|
||||
indent_size = 2
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[Makefile, *.am]
|
||||
indent_style = tab
|
||||
|
||||
[*-spec.txt]
|
||||
# specs seem to have 76 chars max per lines as RFCs
|
||||
max_line_length = 76
|
Loading…
Reference in New Issue
Block a user