Add basic .editorconfig

This commit is contained in:
TSR Berry 2023-08-19 23:04:48 +02:00
parent 28d835b2df
commit 00d4e7d02b
No known key found for this signature in database
GPG Key ID: 52353C0A4CCA15E2

18
.editorconfig Normal file
View File

@ -0,0 +1,18 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 120
tab_width = 4
[{*.yml,*.yaml,*.json}]
indent_size = 2
tab_width = 2
[{*.py,*.pyi}]
# Black defaults to this
max_line_length = 88