From: Jörg Behrmann Date: Sat, 21 Sep 2024 10:58:41 +0000 (+0200) Subject: dir-locals: set python-indent-def-block-scale to 1 X-Git-Tag: v25~275^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3059%2Fhead;p=thirdparty%2Fmkosi.git dir-locals: set python-indent-def-block-scale to 1 This makes the default Emacs indentation compatible with the ruff style so that no extra indentation is added for function arguments. --- diff --git a/.dir-locals.el b/.dir-locals.el index 6223f7c60..e486726f8 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -9,10 +9,12 @@ ((python-mode . ((indent-tabs-mode . nil) (tab-width . 4) - (fill-column . 109))) + (fill-column . 109) + (python-indent-def-block-scale . 1))) (python-ts-mode . ((indent-tabs-mode . nil) (tab-width . 4) - (fill-column . 109))) + (fill-column . 109) + (python-indent-def-block-scale . 1))) (sh-mode . ((sh-basic-offset . 4) (sh-indentation . 4))) (markdown-mode . ((fill-column . 109)))