diff --git a/emacs/init.org b/emacs/init.org index 53b0eb7..2de7f23 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2535,6 +2535,13 @@ Run black on the current buffer: :hook ((python-mode . sphinx-doc-mode))) #+END_SRC +And support pyenv (NOT pyvenv) to change Python versions: +#+BEGIN_SRC emacs-lisp + (use-package pyenv-mode + :defer t) +#+END_SRC + + ** Autoflake [[https://pypi.org/project/autoflake/][Autoflake]] is a tool that removes unused imports and variables from Python code: #+BEGIN_SRC emacs-lisp