Remove mypy from python mode hook (flymake)

This commit is contained in:
Evie Litherland-Smith 2024-03-27 08:06:38 +00:00
parent eb2e89cb48
commit 33c0714595

View file

@ -157,11 +157,6 @@ Set treesit to fontify all elements, default was 3 (out of 4)
"--warn-unreachable" "--warn-unreachable"
"--show-error-codes" "--show-error-codes"
"--no-color-output"))) "--no-color-output")))
(with-eval-after-load 'python
(add-hook 'python-base-mode-hook
(defun python-mode-setup-flymake ()
(require 'flymake-collection)
(add-hook 'flymake-diagnostic-functions 'flymake-collection-mypy nil t))))
#+end_src #+end_src
** shellcheck ** shellcheck