python: Use use-package's hook section instead of config
This commit is contained in:
parent
3a773626c3
commit
19b5305e23
1 changed files with 2 additions and 2 deletions
|
@ -3,5 +3,5 @@
|
|||
|
||||
(use-package flycheck-mypy
|
||||
:ensure t
|
||||
:config
|
||||
(add-hook 'python-mode-hook 'flycheck-mode))
|
||||
:hook
|
||||
(python-mode . flycheck-mode))
|
||||
|
|
Loading…
Reference in a new issue