From 071522f7d2d233f36c1bb6635d53a9b65d971de0 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Fri, 11 Mar 2022 14:04:57 +0100 Subject: [PATCH] editorconfig: py/yaml: use spaces for indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use spaces for the indentation of Python and YAML files. Signed-off-by: Marc Hartmayer Acked-by: Jan Höppner Signed-off-by: Jan Höppner --- .editorconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.editorconfig b/.editorconfig index fe1e9176..fb4bac6a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,3 +11,11 @@ tab_width = 8 [*.sh] shell_variant = bash # used by `shfmt` + +[*.y{a,}ml] +indent_style = space +indent_size = 2 + +[*.py] +indent_style = space +indent_size = 4