From fa57879d14cf3fbd0bbd4bac8712b4ec4cd9907e Mon Sep 17 00:00:00 2001 From: Marciel Torres Date: Sun, 4 Feb 2024 22:09:01 -0300 Subject: [PATCH] Adding editorconfig file --- .editorconfig | 21 +++++++++++++++++++++ README.md | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..115dd61 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 + +# 4 space indentation for python files (based on pep8) +[*.{py}] +indent_style = space +indent_size = 4 + +# 2 space indentation for markdown and yaml config files +[*.{md,Rmd,rst,yml,yaml}] +indent_style = space +indent_size = 2 diff --git a/README.md b/README.md index d444827..80e21bc 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ A python boilerplate project using poetry ### Environment variables -*Use this section to explain each env variable available on your application* +*Use this section to explain each env variable available on your application* Variable | Description | Available Values | Default Value | Required --- | --- | --- | --- | ---