Python: set indent block scale to 1, keep 4 space indenting

This commit is contained in:
Evie Litherland-Smith 2024-06-27 18:15:04 +01:00
parent a2f6f74a90
commit 9e00c03ce0

View file

@ -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" "-"))