gnu: python-flake8: Use INVOKE.

* gnu/packages/python.scm (python-flake8)[arguments]: Use INVOKE and always
return #T.
This commit is contained in:
Ricardo Wurmus 2018-08-08 22:24:13 +02:00
parent 2df4ecd61d
commit 5417c92877
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -5660,7 +5660,8 @@ (define-public python-flake8
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(zero? (system* "pytest" "-v")))))))
(invoke "pytest" "-v")
#t)))))
(propagated-inputs
`(("python-pycodestyle" ,python-pycodestyle)
("python-pyflakes" ,python-pyflakes)