python: improve nosetests integration
This commit is contained in:
parent
9565bae1f9
commit
6c429680e9
2 changed files with 3 additions and 1 deletions
|
@ -59,8 +59,9 @@
|
|||
(use-package nose
|
||||
:commands nose-mode
|
||||
:preface (defvar nose-mode-map (make-sparse-keymap))
|
||||
:init (associate! nose-mode :match "/test_.+\\.py\\'")
|
||||
:init (associate! nose-mode :match "/test_.+\\.py$" :in (python-mode))
|
||||
:config
|
||||
(add-yas-minor-mode! 'nose-mode)
|
||||
(map! :map nose-mode-map
|
||||
(:localleader
|
||||
:n "tr" 'nosetests-again
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue