aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-08-08 22:24:13 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-08-08 23:10:19 +0200
commit5417c92877c9893e23cb4023e4cebb332c6847f5 (patch)
treec209bc899c44a0eaaff15f6e06f9227d22fe3784
parent2df4ecd61d663211b3ce5a0036e25ff143b3b4b1 (diff)
downloadguix-5417c92877c9893e23cb4023e4cebb332c6847f5.tar
guix-5417c92877c9893e23cb4023e4cebb332c6847f5.tar.gz
gnu: python-flake8: Use INVOKE.
* gnu/packages/python.scm (python-flake8)[arguments]: Use INVOKE and always return #T.
-rw-r--r--gnu/packages/python.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 65daba4e4b..fc72bb25e1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5660,7 +5660,8 @@ complexity of Python source code.")
(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)