python: Add config for python
This commit is contained in:
parent
dd9c1d80d3
commit
7f78d9a9a3
4 changed files with 10 additions and 0 deletions
|
@ -39,5 +39,6 @@
|
|||
(use-package lsp-mode
|
||||
:ensure t
|
||||
:hook
|
||||
(python-mode . lsp-deferred)
|
||||
(rust-mode . lsp-deferred)
|
||||
(toml-mode . lsp-deferred))
|
||||
|
|
7
.emacs.d/config/python.el
Normal file
7
.emacs.d/config/python.el
Normal file
|
@ -0,0 +1,7 @@
|
|||
(add-hook 'python-mode-hook 'python-flake8)
|
||||
(add-hook 'python-mode-hook 'python-pylint)
|
||||
|
||||
(use-package flycheck-mypy
|
||||
:ensure t
|
||||
:config
|
||||
(add-hook 'python-mode-hook 'flycheck-mode))
|
Loading…
Add table
Add a link
Reference in a new issue