From eb89b545cfc3ed44c8854f8ac25cd0c0337e3f09 Mon Sep 17 00:00:00 2001 From: Richard Eakin Date: Wed, 16 Jan 2019 17:10:16 -0500 Subject: [PATCH 1/2] added .editorconfig file --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..f1d56d5104 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# editorconfig.org + +# top-most EditorConfig file +root = true + +# Default settings: +# Use 4 spaces as indentation +[*] +indent_style = tabs +indent_size = 4 + +[*.py] +indent_style = spaces From 479b7403af9b36199364b32ba203a6846ca63eb6 Mon Sep 17 00:00:00 2001 From: Richard Eakin Date: Wed, 16 Jan 2019 17:20:40 -0500 Subject: [PATCH 2/2] Improve comments --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index f1d56d5104..81fe629f83 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,10 +4,10 @@ root = true # Default settings: -# Use 4 spaces as indentation [*] indent_style = tabs indent_size = 4 +# python: [*.py] indent_style = spaces