mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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 @@ compliance.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "pytest"))))))
|
(when tests?
|
||||||
|
(invoke "pytest")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-isort" ,python-isort)
|
`(("python-isort" ,python-isort)
|
||||||
("python-pytest" ,python-pytest)))
|
("python-pytest" ,python-pytest)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue