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
|
(use-package lsp-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook
|
:hook
|
||||||
|
(python-mode . lsp-deferred)
|
||||||
(rust-mode . lsp-deferred)
|
(rust-mode . lsp-deferred)
|
||||||
(toml-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))
|
|
@ -68,6 +68,7 @@ symbols, which are converted to strings, and suffixed with \".el\"."
|
||||||
man
|
man
|
||||||
org
|
org
|
||||||
pass
|
pass
|
||||||
|
python
|
||||||
ripgrep
|
ripgrep
|
||||||
rust
|
rust
|
||||||
wl
|
wl
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
!/.emacs.d/config/man.el
|
!/.emacs.d/config/man.el
|
||||||
!/.emacs.d/config/org.el
|
!/.emacs.d/config/org.el
|
||||||
!/.emacs.d/config/pass.el
|
!/.emacs.d/config/pass.el
|
||||||
|
!/.emacs.d/config/python.el
|
||||||
!/.emacs.d/config/ripgrep.el
|
!/.emacs.d/config/ripgrep.el
|
||||||
!/.emacs.d/config/rust.el
|
!/.emacs.d/config/rust.el
|
||||||
!/.emacs.d/config/tramp.el
|
!/.emacs.d/config/tramp.el
|
||||||
|
|
Loading…
Reference in a new issue