summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-05-12 11:41:05 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-05-12 11:50:11 +1000
commitb1c9667acafeb77f8e5bfa9c7880c979ca6ad738 (patch)
treee6708cc2a423ecffca391f6ffcca35550ab3bbd6
parent5a6f141bd86c5c141bbf0ac8007198fa11685657 (diff)
downloadlibinput-b1c9667acafeb77f8e5bfa9c7880c979ca6ad738.tar.gz
editorconfig: add settings for python files
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--.editorconfig12
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