add editorconfig

This commit is contained in:
JensDiemer 2020-12-22 18:47:11 +01:00
parent 8a9abca957
commit d4269c42af
2 changed files with 21 additions and 0 deletions

20
.editorconfig Normal file
View file

@ -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

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
.* .*
!.github !.github
!.editorconfig
!.gitignore !.gitignore
__pycache__ __pycache__
secret.txt secret.txt