me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 2 additions and 4 deletions

View File

@ -9009,12 +9009,10 @@ complexity of Python source code.")
(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)