Browse Source

Add a basic .editorconfig

Signed-off-by: Aaron Raimist <aaron@raim.ist>
Aaron Raimist 5 years ago
parent
commit
3518c28aa8
3 changed files with 11 additions and 0 deletions
  1. 9 0
      .editorconfig
  2. 1 0
      MANIFEST.in
  3. 1 0
      changelog.d/4257.misc

+ 9 - 0
.editorconfig

@@ -0,0 +1,9 @@
+# EditorConfig https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# 4 space indentation
+[*.py]
+indent_style = space
+indent_size = 4

+ 1 - 0
MANIFEST.in

@@ -26,6 +26,7 @@ recursive-include synapse/static *.js
 exclude Dockerfile
 exclude .dockerignore
 exclude test_postgresql.sh
+exclude .editorconfig
 
 include pyproject.toml
 recursive-include changelog.d *

+ 1 - 0
changelog.d/4257.misc

@@ -0,0 +1 @@
+Add a basic .editorconfig