guix-commits
[Top][All Lists]
Advanced

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

08/08: gnu: Add python-pytest-pycodestyle.


From: guix-commits
Subject: 08/08: gnu: Add python-pytest-pycodestyle.
Date: Mon, 25 May 2020 18:59:25 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit d79c917f2dd7550c6737fede49c77679f0a83770
Author: Edouard Klein <address@hidden>
AuthorDate: Mon May 25 13:27:37 2020 +0200

    gnu: Add python-pytest-pycodestyle.
    
    * gnu/packages/python-check.scm (python-pytest-pycodestyle): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/python-check.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 22b9ea8..1071abd 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2019 Hartmut Goebel <address@hidden>
 ;;; Copyright © 2020 Julien Lepiller <address@hidden>
 ;;; Copyright © 2020 Marius Bakke <address@hidden>
+;;; Copyright © 2020 Edouard Klein <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -337,6 +338,28 @@ testing framework.")
 framework.")
     (license license:expat)))
 
+(define-public python-pytest-pycodestyle
+  (package
+    (name "python-pytest-pycodestyle")
+    (version "2.0.0")               ;later versions require python-pytest~=5.4
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-pycodestyle" version))
+       (sha256
+        (base32
+         "02i5gl7pm9cwxk15sn29inz3n8flpj1r3p1l110h43f2na5w8h7z"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pycodestyle" ,python-pycodestyle)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/henry0312/pytest-pycodestyle";)
+    (synopsis "Pytest plugin to run pycodestyle")
+    (description "This package provides a plugin to run @code{pycodestyle}
+for the @code{pytest} framework.")
+    (license license:expat)))
+
 (define-public python-codacy-coverage
   (package
     (name "python-codacy-coverage")



reply via email to

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