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

View File

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