From d41e5c1152f7904de452e165102a30637e6fdb58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81aurent=20=CA=98=E2=9D=A2=C5=A6=20=C5=A6ough?= <LaurentFough@users.noreply.github.com> Date: Sat, 9 Nov 2019 14:18:03 -0800 Subject: [PATCH 1/3] Create .editorconfig Reasonably tame .editorconfig for help with editting the .py & especially the YAML files --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b46340a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +charset = utf-8 +end_of_line = lf // Helps keep Windows, Mac, Linux on the same page since they handle end of line differently +indent_style = tab // Converts spaces to tabs +indent_size = 4 // 4 spaces per tab +insert_final_newline = true // Auto-adds a blank newline to the end of a file +trim_trailing_whitespace = true // Auto-trims trailing whitespace + +# Docstrings and comments use max_line_length = 79 +[*.py] +max_line_length = 119 +indent_style = tab +indent_size = 4 + +# Matches the exact files either package.json or .travis.yml +[{*.yml,*.yaml,config.yml,defaults.yml}] +indent_style = space +indent_size = 2 From 2d517e3de5f76f4c642d91a84f684184079bfb75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81aurent=20=CA=98=E2=9D=A2=C5=A6=20=C5=A6ough?= <LaurentFough@users.noreply.github.com> Date: Sun, 10 Nov 2019 12:55:28 -0800 Subject: [PATCH 2/3] Update .editorconfig Removed *.py section --- .editorconfig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.editorconfig b/.editorconfig index b46340a..219931d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,12 +10,6 @@ indent_size = 4 // 4 spaces per tab insert_final_newline = true // Auto-adds a blank newline to the end of a file trim_trailing_whitespace = true // Auto-trims trailing whitespace -# Docstrings and comments use max_line_length = 79 -[*.py] -max_line_length = 119 -indent_style = tab -indent_size = 4 - # Matches the exact files either package.json or .travis.yml [{*.yml,*.yaml,config.yml,defaults.yml}] indent_style = space From b180f16aa6a22c848bf3f5801682f43d6c25d0e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81aurent=20=CA=98=E2=9D=A2=C5=A6=20=C5=A6ough?= <LaurentFough@users.noreply.github.com> Date: Sun, 10 Nov 2019 12:56:52 -0800 Subject: [PATCH 3/3] Update .editorconfig Removed; defaults that may not be used by everyone --- .editorconfig | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.editorconfig b/.editorconfig index 219931d..272f5d7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,15 +1,6 @@ # top-most EditorConfig file root = true -# Unix-style newlines with a newline ending every file -[*] -charset = utf-8 -end_of_line = lf // Helps keep Windows, Mac, Linux on the same page since they handle end of line differently -indent_style = tab // Converts spaces to tabs -indent_size = 4 // 4 spaces per tab -insert_final_newline = true // Auto-adds a blank newline to the end of a file -trim_trailing_whitespace = true // Auto-trims trailing whitespace - # Matches the exact files either package.json or .travis.yml [{*.yml,*.yaml,config.yml,defaults.yml}] indent_style = space