summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 08:51:28 +0000
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:07 +0200
commit79904458f9b33298c9c591e6aa6e6bafe18f6f24 (patch)
treeb7af666b69fa667cb8fd88579d315d82ceb13936 /gnu/packages/python-check.scm
parent96012e341cb3e79d8b24fef6d1f166f94dbdcf9d (diff)
gnu: python-pytest-black: Move to python-check.
* gnu/packages/python-xyz.scm (python-pytest-black): Move from here ... * gnu/packages/python-check.scm: ... to here. Change-Id: I63b64e0e09173312bb6ddea316fe323801cb1176
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index ada814b86a3..9825434ed2d 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -288,6 +288,34 @@ Avocado machine readable outputs this one is streamlined (per test results).
@end table")
(license license:gpl2))) ;some files are under GPLv2 only
+(define-public python-pytest-black
+ (package
+ (name "python-pytest-black")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest_black" version))
+ (sha256
+ (base32
+ "04dmhv8dzh356qdxz6hrwfz3nk3mlc9shicgpns5r03rydap9dzc"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-black
+ python-pytest
+ python-toml))
+ ;; Project maintenance has been changed, see
+ ;; <https://github.com/shopkeep/pytest-black/issues/70>.
+ (home-page "https://github.com/coherent-oss/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-beartype
(package
(name "python-beartype")