Remove mypy from python mode hook (flymake)
This commit is contained in:
parent
eb2e89cb48
commit
33c0714595
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue