Created
May 16, 2020 16:00
-
-
Save woochica/64273f3249eb9f18a506651f3bed014c to your computer and use it in GitHub Desktop.
Emacs configuration for a Python project in OSX
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
;;; Directory Local Variables | |
;;; For more information see (info "(emacs) Directory Variables") | |
((python-mode . | |
((python-shell-virtualenv-root . "~/Library/Caches/pypoetry/virtualenvs") | |
(pyvenv-default-virtual-env-name . "~/Library/Caches/pypoetry/virtualenvs/bps-web-iZn3jUlQ-py3.8") | |
(pyvenv-workon . "bps-web-iZn3jUlQ-py3.8") | |
(python-shell-exec-path . ("/Users/apple/Dev/bps_web")) | |
(python-shell-extra-pythonpaths . ("/Users/apple/Dev/bps_web")) | |
;; Setting PYTHONPATH is needed otherwise Flycheck doesn't work properly | |
(eval . (setenv "PYTHONPATH" "/Users/apple/Dev/bps_web")) | |
(flycheck-python-mypy-executable . "~/Library/Caches/pypoetry/virtualenvs/bps-web-iZn3jUlQ-py3.8/bin/mypy") | |
(flycheck-python-flake8-executable . "~/Library/Caches/pypoetry/virtualenvs/bps-web-iZn3jUlQ-py3.8/bin/flake8") | |
))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment