guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: python-flake8: Use INVOKE.


From: Ricardo Wurmus
Subject: 01/02: gnu: python-flake8: Use INVOKE.
Date: Wed, 8 Aug 2018 17:10:37 -0400 (EDT)

rekado pushed a commit to branch core-updates
in repository guix.

commit 5417c92877c9893e23cb4023e4cebb332c6847f5
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Aug 8 22:24:13 2018 +0200

    gnu: python-flake8: Use INVOKE.
    
    * gnu/packages/python.scm (python-flake8)[arguments]: Use INVOKE and always
    return #T.
---
 gnu/packages/python.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 65daba4..fc72bb2 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]