dotfiles-emacs/.emacs.d/config/python.el

13 lines
244 B
EmacsLisp
Raw Normal View History

2024-08-13 14:25:56 +02:00
(add-hook 'python-mode-hook 'python-flake8)
(add-hook 'python-mode-hook 'python-pylint)
(use-package flycheck-mypy
:ensure t
:hook
(python-mode . flycheck-mode))
(use-package lsp-mode
:ensure t
:hook
(python-mode . lsp-deferred))