diff --git a/.editorconfig b/.editorconfig
index 6ac0df79c64bd26796a68611bc398b30e689eca3..23219591830834fcac3e4a47c1c1b95f499ab7a3 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -6,3 +6,7 @@ end_of_line = lf
 insert_final_newline = true
 indent_style = tab
 charset = utf-8
+
+[*.py]
+indent_style = space
+indent_size = 4