editorconfig: add settings for python files

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2021-05-12 11:41:05 +10:00
parent 5a6f141bd8
commit b1c9667aca

View file

@ -2,10 +2,16 @@
root = true
[*.{c,h}]
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.{c,h}]
indent_size = 8
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.py]
indent_size = 4
indent_style = space