diff --git a/config/ide.org b/config/ide.org index c126ae5..94cd76b 100644 --- a/config/ide.org +++ b/config/ide.org @@ -145,6 +145,11 @@ Set treesit to fontify all elements, default was 3 (out of 4) :diminish :defer :after flymake) + + (with-eval-after-load 'python + (add-hook 'python-base-mode-hook + (defun python-mode-setup-flymake () + (add-hook 'flymake-diagnostic-functions 'flymake-collection-mypy nil t)))) #+end_src ** shellcheck