diff --git a/.editorconfig b/.editorconfig
index e980e23199a96ee9d3997b65c81484ff8729cc29..57ed4bad86c301275a7adb562fc968ba6344720b 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -13,3 +13,6 @@ quote_type = single
 [*.md]
 max_line_length = off
 trim_trailing_whitespace = false
+
+[*.py]
+indent_size = 4