From 7c9d9fddf73e3d9e62308ef3205c86a1deccf5ef Mon Sep 17 00:00:00 2001 From: jowj Date: Fri, 7 Jun 2019 11:26:46 -0500 Subject: [PATCH] More python improvements; - stripping out everything i don't actually need - moving to a more vanilla config. --- applicationConfiguration/.emacs/jlj-init.org | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/applicationConfiguration/.emacs/jlj-init.org b/applicationConfiguration/.emacs/jlj-init.org index 50720c4..1c578be 100644 --- a/applicationConfiguration/.emacs/jlj-init.org +++ b/applicationConfiguration/.emacs/jlj-init.org @@ -219,29 +219,21 @@ I really use this for just the searching from emacs (global-set-key (kbd "C-c s") 'helm-surfraw-duck))) #+END_SRC * python stuff +- pylint is required (pip install pylint, yada yada) +- pep8 (pip install pep8) #+BEGIN_SRC emacs-lisp (use-package pylint :ensure t) -(use-package python-mode - :ensure t) -(use-package elpy - :ensure t - :config - (progn - (require 'elpy) - (when (require 'flycheck nil t) - (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) - (add-hook 'elpy-mode-hook 'flycheck-mode)) - (elpy-enable) - (setq python-shell-interpreter "/usr/local/bin/python3" - python-shell-interpreter-args "-i"))) + +(setq python-shell-interpreter "/usr/local/bin/python3" + python-shell-interpreter-args "-i") (use-package py-autopep8 :ensure t :config (progn - (add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save))) + (add-hook 'python-mode-hook 'py-autopep8-enable-on-save))) #+END_SRC