gnu: python-flake8: Do not delete and recreate check phase.

* gnu/packages/python-xyz.scm (python-flake8)[arguments]: Replace check phase
instead of deleting.  Remove trailing #t.
This commit is contained in:
Marius Bakke 2021-05-06 15:50:16 +02:00
parent 47516f818e
commit 9e22ab252f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -9009,12 +9009,10 @@ (define-public python-flake8
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'check)
(add-after 'install 'check
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-v")
#t)))))
(invoke "pytest" "-v"))))))
(propagated-inputs
`(("python-pycodestyle" ,python-pycodestyle)
("python-entrypoints" ,python-entrypoints)