Created
May 17, 2019 21:44
-
-
Save terrycojones/d309edfa7ecc1e87c290ea9e4c3723bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(elpy-enable) | |
(pyvenv-workon "37") | |
(setq elpy-test-runner 'elpy-test-trial-runner) | |
(setq | |
elpy-test-trial-runner-command | |
(list (expand-file-name (format "~/.virtualenvs/%s/bin/trial" pyvenv-virtual-env-name)) "--rterrors")) | |
(when (require 'flycheck nil t) | |
(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) | |
(add-to-list 'python-shell-completion-native-disabled-interpreters "jupyter") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment