Merge pull request #4257 from aaronraimist/add-editorconfig

Add a basic .editorconfig
This commit is contained in:
Richard van der Hoff 2018-12-04 11:10:02 +01:00 committed by GitHub
commit a484735bb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

9
.editorconfig Normal file
View file

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

View file

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

1
changelog.d/4257.misc Normal file
View file

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