guix-commits
[Top][All Lists]
Advanced

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

28/361: gnu: Add python-pytest-mypy-testing.


From: guix-commits
Subject: 28/361: gnu: Add python-pytest-mypy-testing.
Date: Fri, 22 Nov 2024 06:00:05 -0500 (EST)

andreas pushed a commit to branch python-team
in repository guix.

commit 2d50bb7c88124a29f156484f050cac04f7c8e981
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 27 15:56:13 2024 +0100

    gnu: Add python-pytest-mypy-testing.
    
    * gnu/packages/check.scm (python-pytest-mypy-testing): New variable.
    
    Change-Id: Ic55e63745eae070e439155f1dc6792285eb87312
---
 gnu/packages/check.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index a5361b96c3..5223683b13 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3018,6 +3018,26 @@ a Pytest test execution.")
 mypy plugins.")
     (license license:expat)))
 
+(define-public python-pytest-mypy-testing
+  (package
+    (name "python-pytest-mypy-testing")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-mypy-testing" version))
+       (sha256
+        (base32 "0kqb3hi4jrc4knhc9pxv44m7c1jjkkwqx0dyghq4mw6wphlsv3q8"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-flit-core))
+    (propagated-inputs (list python-mypy python-pytest))
+    (home-page "https://github.com/davidfritzsche/pytest-mypy-testing";)
+    (synopsis "Pytest plugin to check mypy output")
+    (description "This package provides a pytest plugin to test that mypy
+produces a given output.  As mypy can be told to display the type of an
+expression this allows you to check mypys type interference.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public python-pytest-pep8
   (package
     (name "python-pytest-pep8")



reply via email to

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