diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 3e1dca8..443c7b2 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -316,11 +316,15 @@ :ensure t :config (when (load "flycheck" t t) + (require 'flycheck-mypy) + (flycheck-add-next-checker 'python-flake8 'python-mypy) (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) (add-hook 'elpy-mode-hook 'flycheck-mode)) - (setq python-shell-interpreter "jupyter" - python-shell-interpreter-args "console --simple-prompt" - python-shell-prompt-detect-failure-warning nil) + (setq python-shell-interpreter "ipython" + python-shell-interpreter-args "-i --simple-prompt") + ;; (setq python-shell-interpreter "jupyter" + ;; python-shell-interpreter-args "console --simple-prompt" + ;; python-shell-prompt-detect-failure-warning nil) (add-to-list 'python-shell-completion-native-disabled-interpreters "jupyter") :init