From eb665d569da31101b37a70aa8d727111befcb2de Mon Sep 17 00:00:00 2001 From: Adam Charnock Date: Sat, 5 Dec 2015 09:02:15 +0000 Subject: [PATCH] Adding .editorconfig to help enforce whitespace rules (and to stop me keep adding too many blank lines at the end of files) --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..5ebeb47b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{py,rst,ini}] +indent_style = space +indent_size = 4 +