From 3518c28aa87b6394762d2d0e80b8fec5ef5772e2 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Mon, 3 Dec 2018 22:38:41 -0600 Subject: [PATCH] Add a basic .editorconfig Signed-off-by: Aaron Raimist --- .editorconfig | 9 +++++++++ MANIFEST.in | 1 + changelog.d/4257.misc | 1 + 3 files changed, 11 insertions(+) create mode 100644 .editorconfig create mode 100644 changelog.d/4257.misc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..3edf9e717 --- /dev/null +++ b/.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 diff --git a/MANIFEST.in b/MANIFEST.in index d0e49713d..ec18819bc 100644 --- a/MANIFEST.in +++ b/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 * diff --git a/changelog.d/4257.misc b/changelog.d/4257.misc new file mode 100644 index 000000000..43ac24cb7 --- /dev/null +++ b/changelog.d/4257.misc @@ -0,0 +1 @@ +Add a basic .editorconfig