diff --git a/.emacs.d/config/python.el b/.emacs.d/config/python.el index 2c06c33..ebd3269 100644 --- a/.emacs.d/config/python.el +++ b/.emacs.d/config/python.el @@ -3,5 +3,5 @@ (use-package flycheck-mypy :ensure t - :config - (add-hook 'python-mode-hook 'flycheck-mode)) + :hook + (python-mode . flycheck-mode))