From 9e00c03ce0c02d311cc3e39ebb00cb059e06b370 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 27 Jun 2024 18:15:04 +0100 Subject: [PATCH] Python: set indent block scale to 1, keep 4 space indenting --- init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/init.el b/init.el index 541cba7..4e88733 100644 --- a/init.el +++ b/init.el @@ -1049,6 +1049,7 @@ Calls `project-remember-projects-under' for ~/Projects/" :hook ((python-base-mode . (lambda () (my/enable-fill-column 88)))) :custom (python-shell-interpreter "python3") + (python-indent-def-block-scale 1) (python-check-command "mypy --check-untyped-defs --warn-unreachable --show-error-codes") (python-flymake-command (cond ((executable-find "ruff") '("ruff" "check" "--output-format=pylint" "--stdin-filename=stdin" "-"))