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
parent
47516f818e
commit
9e22ab252f
|
@ -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)
|
||||
|
|
Reference in New Issue