From f234cda89a974fe69354baed5f41919add91bd60 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 4 May 2023 10:51:23 +0200 Subject: [PATCH] gnu: Add python-pytest-mypy-plugins. * gnu/packages/check.scm (python-pytest-mypy-plugins): New variable. --- gnu/packages/check.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 17c2b7284e..87728fefa3 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -24,7 +24,7 @@ ;;; Copyright © 2017, 2019 Mathieu Othacehe ;;; Copyright © 2017, 2019 Kei Kebreau ;;; Copyright © 2017 Nikita -;;; Copyright © 2015, 2017, 2018, 2020, 2021 Ricardo Wurmus +;;; Copyright © 2015, 2017, 2018, 2020, 2021, 2023 Ricardo Wurmus ;;; Copyright © 2016-2022 Marius Bakke ;;; Copyright © 2017, 2018, 2020, 2021 Ludovic Courtès ;;; Copyright © 2018 Fis Trivial @@ -2465,6 +2465,30 @@ Pytest that runs the mypy static type checker on your source files as part of a Pytest test execution.") (license license:expat))) +(define-public python-pytest-mypy-plugins + (package + (name "python-pytest-mypy-plugins") + (version "1.10.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "pytest-mypy-plugins" version)) + (sha256 + (base32 + "05ng29b05gasqj195i9hyyhx5shmwypyvajb7plxwha3g36qq98z")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #false)) ;there are none + (propagated-inputs (list python-chevron + python-decorator + python-mypy + python-pytest + python-pyyaml + python-regex)) + (home-page "https://github.com/TypedDjango/pytest-mypy-plugins") + (synopsis "Pytest plugin for writing tests for mypy plugins") + (description "This package provides a pytest plugin for writing tests for +mypy plugins.") + (license license:expat))) + (define-public python-pytest-pep8 (package (name "python-pytest-pep8")