Add pytest
This commit is contained in:
parent
5d5915fbdb
commit
0a1f1f6060
@ -2545,7 +2545,6 @@ And support pyenv (NOT pyvenv) to change Python versions:
|
|||||||
:defer t)
|
:defer t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
** Autoflake
|
** Autoflake
|
||||||
[[https://pypi.org/project/autoflake/][Autoflake]] is a tool that removes unused imports and variables from Python code:
|
[[https://pypi.org/project/autoflake/][Autoflake]] is a tool that removes unused imports and variables from Python code:
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -2567,6 +2566,15 @@ And support pyenv (NOT pyvenv) to change Python versions:
|
|||||||
(append autoflake-args (list "--in-place" file)))))
|
(append autoflake-args (list "--in-place" file)))))
|
||||||
#+END_SRC
|
#+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
|
* Hy
|
||||||
Python but Lispy!
|
Python but Lispy!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user