guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: Add python-pytest-black.


From: guix-commits
Subject: 05/09: gnu: Add python-pytest-black.
Date: Fri, 6 Mar 2020 03:16:58 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit cc2c2850ce1ccf863b7e69f8ac6734f1b659c212
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Fri Mar 6 08:55:25 2020 +0100

    gnu: Add python-pytest-black.
    
    * gnu/packages/python-xyz.scm (python-pytest-black): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bc7e10e..c003bef 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7311,6 +7311,31 @@ designed to efficiently cope with extremely large 
amounts of data.")
 (define-public python2-tables
   (package-with-python2 python-tables))
 
+(define-public python-pytest-black
+  (package
+    (name "python-pytest-black")
+    (version "0.3.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-black" version))
+       (sha256
+        (base32
+         "04lppqydxm0f3f3x0l8hj7v0j6d8syj34jc37yzqwqcyqsnaga81"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-black" ,python-black)
+       ("python-toml" ,python-toml)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page "https://github.com/shopkeep/pytest-black";)
+    (synopsis "Pytest plugin to enable format checking with black")
+    (description
+     "This package provides a pytest plugin to enable format checking with the
+Python code formatter \"black\".")
+    (license license:expat)))
+
 (define-public python-pyasn1
   (package
     (name "python-pyasn1")



reply via email to

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