2022-11-16 21:17:19 +01:00
|
|
|
# Univerzální popis našich konvencí pro nastavení editorů.
|
|
|
|
# Vizte https://editorconfig.org pro detaily
|
|
|
|
|
2022-11-15 00:47:19 +01:00
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
charset = utf-8
|
2022-11-16 21:20:09 +01:00
|
|
|
# Unixové řádky
|
2022-11-15 00:47:19 +01:00
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
|
|
|
|
2022-11-16 01:37:40 +01:00
|
|
|
[*.{py,css}]
|
2022-11-15 00:47:19 +01:00
|
|
|
indent_style = tab
|
2022-11-16 21:20:09 +01:00
|
|
|
# Nenařizujeme konkrétní šířku tabulátoru
|
2022-11-15 12:49:11 +01:00
|
|
|
indent_size = unset
|
2022-11-15 00:47:19 +01:00
|
|
|
|
2022-11-16 21:20:09 +01:00
|
|
|
# Automaticky generované migrace dodržují PEP-8, nemá smysl s tím moc bojovat.
|
2022-11-15 00:47:19 +01:00
|
|
|
[*/migrations/*.py]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2022-11-16 01:18:59 +01:00
|
|
|
|
|
|
|
[*.html]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|