summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-07 13:22:19 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-07 13:34:12 +0100
commitec16da83f2999bca0780c231b5d2e21fc8b13ae1 (patch)
treef713825a615fbca0659722e5356045a17b656e58 /gnu/packages/python-check.scm
parent5eff416f5d91b6e3b145c0f2892bc74820265c0d (diff)
gnu: python-flake8-docstrings: Move to python-check.
* gnu/packages/python-xyz.scm (python-flake8-docstrings): Move from here ... * gnu/packages/python-check.scm: ... to here. Change-Id: I6d0bcddfb34e57d0fb2195d7cf43976251a6d65b
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 0b1e1784b0..239cadb19d 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -853,6 +853,30 @@ list/set/dict comprehensions.")
providing hints about what deprecated methods should be replaced with.")
(license license:gpl2)))
+(define-public python-flake8-docstrings
+ (package
+ (name "python-flake8-docstrings")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pycqa/flake8-docstrings")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0a9cx11rz9asb4xkz7dg65kx8mpa74xqh5qp3lsiy74y4idwp9qi"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ;there are no tests
+ (propagated-inputs (list python-flake8 python-pydocstyle))
+ (native-inputs (list python-setuptools))
+ (home-page "https://github.com/pycqa/flake8-docstrings")
+ (synopsis "Extension for flake8 which uses pydocstyle to check docstrings")
+ (description
+ "This package provides a extension for flake8 which uses pydocstyle to
+check docstrings.")
+ (license license:expat)))
+
(define-public python-flexmock
(package
(name "python-flexmock")