mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
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:
parent
47516f818e
commit
9e22ab252f
1 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue