Add keybinding to rerun pytest
This commit is contained in:
parent
8cd0d3167b
commit
f849e692b5
@ -2880,9 +2880,10 @@ And support pyenv (NOT pyvenv) to change Python versions:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package python-pytest
|
||||
:commands (python-pytest-popup
|
||||
python-pytest--current-defun)
|
||||
python-pytest--current-defun)
|
||||
:general
|
||||
(python-mode-map "C-c t p" #'python-pytest-popup))
|
||||
(python-mode-map "C-c t p" #'python-pytest-popup)
|
||||
((normal motion visual) python-pytest-mode-map "g r" #'python-pytest-repeat))
|
||||
#+END_SRC
|
||||
|
||||
And borrowing some functions from python-pytest, we can get some nosetests support as well:
|
||||
|
Loading…
Reference in New Issue
Block a user