Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions python-pytest.el
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ When non-nil only ‘test_foo()’ will match, and nothing else."
("-q" "quiet" "--quiet")
("-s" "no output capture" "--capture=no")
(python-pytest:-v)]]
["Parallelization"
(python-pytest:-n)]
["Selection, filtering, ordering"
[(python-pytest:-k)
(python-pytest:-m)
Expand Down Expand Up @@ -476,6 +478,13 @@ When present ON-REPLACEMENT is substituted, else OFF-REPLACEMENT is appended."
:argument "--tb="
:choices '("long" "short" "line" "native" "no"))

(transient-define-argument python-pytest:-n ()
:description "number of processes"
:class 'transient-option
:key "-n"
:argument "-n="
:choices '("auto" "1" "2" "3" "4" "5" "6" "7" "8"))


;; python helpers

Expand Down