From 8832d0446c908b44720e92b7a9cbee66439a620d Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 5 Sep 2017 12:29:41 -0400 Subject: Python crap in emacs --- .emacs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.emacs b/.emacs index c60730e..f4c6999 100644 --- a/.emacs +++ b/.emacs @@ -95,6 +95,16 @@ :ensure t :config (add-hook 'tuareg-mode-hook 'merlin-mode t)) +(use-package py-autopep8 + :ensure t + :config + (add-hook 'python-mode-hook 'py-autopep8-enable-on-save) + (setq py-autopep8-options '("--max-line-length=80"))) +(use-package elpy + :ensure t + :config + (setq elpy-rpc-python-command "python3")) + ;;;; AUTO FILL -- cgit v1.2.3