diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-05-12 11:41:05 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-05-12 11:50:11 +1000 |
commit | b1c9667acafeb77f8e5bfa9c7880c979ca6ad738 (patch) | |
tree | e6708cc2a423ecffca391f6ffcca35550ab3bbd6 /.editorconfig | |
parent | 5a6f141bd86c5c141bbf0ac8007198fa11685657 (diff) | |
download | libinput-b1c9667acafeb77f8e5bfa9c7880c979ca6ad738.tar.gz |
editorconfig: add settings for python files
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.editorconfig b/.editorconfig index f7a6d655..9d7d189b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 |