From 325316461463e3b2e1f6b75254d431e4974bbd6f Mon Sep 17 00:00:00 2001 From: Arkady Shapkin Date: Wed, 22 May 2019 19:47:55 +0300 Subject: [PATCH] Add an .editorconfig file (#542) Could help to maintain consistent coding styles What is .editorconfig: http://editorconfig.org/#overview Plugins for IDEs to support: http://editorconfig.org/#download --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..c98ee52bb --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 100 + +# Use 4 spaces for the Python files +[*.py] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false