Start configuring elpy

This commit is contained in:
Gerard Vermeulen 2021-11-30 18:05:27 +01:00
parent 9aecaf4744
commit 030520ae6a

View File

@ -1018,6 +1018,20 @@ the options listed on the [[https://www.emacswiki.org/emacs/PythonProgrammingInE
(pyenv-mode-set "3.9.8/envs/python-3.9.8"))
#+end_src
#+begin_src emacs-lisp
(when (fboundp 'elpy-enable)
(custom-set-variables
'(elpy-modules '(elpy-module-sane-defaults
elpy-module-company
elpy-module-eldoc
elpy-module-pyvenv))
'(elpy-project-root-finder-functions '(elpy-project-find-python-root
elpy-project-find-git-root
elpy-project-find-hg-root))
`(elpy-rpc-ignored-buffer-size ,(lsh 1 18))
'(elpy-rpc-virtualenv-path 'current)))
#+end_src
#+attr_latex: :options bgcolor=LightGoldenrodYellow
#+begin_src emacs-lisp
(with-eval-after-load 'info