summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-09-24 12:19:01 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-09-24 12:19:01 +0200
commitb18b2d13488f2a92331ccad2dc8cbb54ee15582f (patch)
treefe841af2c61142cf065f4bd0f9d5b8668ae90823 /gnu/packages/python-check.scm
parentafa9da84255d32d9f457be381c12666b69ac3f69 (diff)
parent35fd25af9bbcce84908101a9f487ba106a8d6df7 (diff)
Merge branch 'master' into gnome-team
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 3a718954c5..0ccae07093 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2023,6 +2023,31 @@ valid Python syntax that are likely to be commented out code.")
behavior-driven development (TDD and BDD).")
(license license:expat)))
+(define-public python-slotscheck
+ (package
+ (name "python-slotscheck")
+ (version "0.17.0")
+ (home-page "https://github.com/ariebovenberg/slotscheck")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0k5jjabd219ndlssfqcdb5sn891ffrxzw84l5r8pirzy74i7znr4"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-poetry-core
+ python-pydantic
+ python-pytest
+ python-pytest-mock))
+ (propagated-inputs (list python-click python-tomli))
+ (synopsis "Ensure @code{__slots__} are working properly")
+ (description
+ "@code{slotscheck} is a tool to validate Python class @code{__slots__}.")
+ (license license:expat)))
+
(define-public python-stestr
(package
(name "python-stestr")