diff --git a/emacs/init.org b/emacs/init.org index caee991..c60faf5 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2545,7 +2545,6 @@ And support pyenv (NOT pyvenv) to change Python versions: :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 @@ -2567,6 +2566,15 @@ And support pyenv (NOT pyvenv) to change Python versions: (append autoflake-args (list "--in-place" file))))) #+END_SRC +** Pytest +[[https://github.com/wbolster/emacs-python-pytest][python-pytest.el]] integrates Pytest with Emacs: +#+BEGIN_SRC emacs-lisp + (use-package python-pytest + :commands (python-pytest-popup) + :general + (python-mode-map "C-c t p" #'python-pytest-popup)) +#+END_SRC + * Hy Python but Lispy!