From d4269c42afae928845bfaf6394875e3810f2fb5b Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Tue, 22 Dec 2020 18:47:11 +0100 Subject: [PATCH] add editorconfig --- .editorconfig | 20 ++++++++++++++++++++ .gitignore | 1 + 2 files changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7022146 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# see http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.py] +line_length = 119 + +[{Makefile,**.mk}] +indent_style = tab +insert_final_newline = false + +[*.yml] +indent_style = tab diff --git a/.gitignore b/.gitignore index 145be6a..a7c2f58 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .* !.github +!.editorconfig !.gitignore __pycache__ secret.txt