From 2a81dbe09d26ba5be654352c03242ed56d304c4f Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Tue, 15 Nov 2022 00:47:19 +0100 Subject: [PATCH 1/4] =?UTF-8?q?P=C5=99id=C3=A1n=20editorconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e99349e1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +root = true + +[*] +charset = utf-8 +# Unix-y lines +end_of_line = lf +insert_final_newline = true + +[*.py] +indent_style = tab +# I do not think we prescribe, how big a tab is. +indent_size = tab + +# Migrations are auto-generated and thus follow PEP-8, let's not fight with that +[*/migrations/*.py] +indent_style = space +indent_size = 4 From e810d01b0ec8a689111a639e5769b757ce1c9037 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Tue, 15 Nov 2022 12:49:11 +0100 Subject: [PATCH 2/4] =?UTF-8?q?Unset=20je=20lep=C5=A1=C3=AD=20varianta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index e99349e1..c86d7658 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,7 +9,7 @@ insert_final_newline = true [*.py] indent_style = tab # I do not think we prescribe, how big a tab is. -indent_size = tab +indent_size = unset # Migrations are auto-generated and thus follow PEP-8, let's not fight with that [*/migrations/*.py] From e1be20c08b3f454250b638c137cb74dd45f0f029 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Wed, 16 Nov 2022 01:18:59 +0100 Subject: [PATCH 3/4] =?UTF-8?q?HTML=20odsazovat=20dv=C4=9Bma=20mezerami?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index c86d7658..639d9791 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,3 +15,7 @@ indent_size = unset [*/migrations/*.py] indent_style = space indent_size = 4 + +[*.html] +indent_style = space +indent_size = 2 From 914ec732af19a72614a44cbf23ee2c70f7b0d716 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Wed, 16 Nov 2022 01:37:40 +0100 Subject: [PATCH 4/4] =?UTF-8?q?CSS=20jsou=20pro=20=C3=BA=C4=8Dely=20editac?= =?UTF-8?q?e=20asi=20v=C3=ADcem=C3=A9n=C4=9B=20python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 639d9791..e385fb3c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,7 +6,7 @@ charset = utf-8 end_of_line = lf insert_final_newline = true -[*.py] +[*.{py,css}] indent_style = tab # I do not think we prescribe, how big a tab is. indent_size = unset