gnu: python-pytest-isort: Honor #:tests in check phase.
* gnu/packages/python-check.scm (python-pytest-isort)[arguments]: Honor #:tests flag.
This commit is contained in:
parent
b8295d2529
commit
c94d42d951
1 changed files with 3 additions and 2 deletions
|
@ -739,8 +739,9 @@ (define-public python-pytest-isort
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "pytest"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest")))))))
|
||||
(propagated-inputs
|
||||
`(("python-isort" ,python-isort)
|
||||
("python-pytest" ,python-pytest)))
|
||||
|
|
Loading…
Reference in a new issue