aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-03-06 14:04:08 +0800
committerZheng Junjie <z572@z572.online>2025-03-26 12:19:24 +0800
commit7127a5149049b9ddb0ab87b86c518cb795d6871e (patch)
tree4ced678aba570d835e1b43df6cd29720746194a6
parent5d2f5d176199fcac87bc37bea7f87d6af76b08f3 (diff)
downloadguix-7127a5149049b9ddb0ab87b86c518cb795d6871e.tar.gz
guix-7127a5149049b9ddb0ab87b86c518cb795d6871e.zip
gnu: Add python-flake8-docstrings.
* gnu/packages/python-xyz.scm (python-flake8-docstrings): New variable. Change-Id: I758db70b11394134221d795e38a049527aa87da8
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 21 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d22720619c..dfedf07eeb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -91,7 +91,7 @@
;;; Copyright © 2020 Diego N. Barbato <dnbarbato@posteo.de>
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2019 Kristian Trandem <kristian@devup.no>
-;;; Copyright © 2020, 2021, 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2020, 2021, 2024, 2025 Zheng Junjie <z572@z572.online>
;;; Copyright © 2020 EuAndreh <eu@euandre.org>
;;; Copyright © 2021, 2022 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2021-2025 Sharlatan Hellseher <sharlatanus@gmail.com>
@@ -584,6 +584,26 @@ Sorensen distance, plus some bonuses. All distance computations are
implemented in pure Python, and most of them are also implemented in C.")
(license license:gpl2+)))
+(define-public python-flake8-docstrings
+ (package
+ (name "python-flake8-docstrings")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "flake8_docstrings" version))
+ (sha256
+ (base32 "1bs1m5kqw25sn68f06571q5s3aaxd06mv7k952bqdrhnvi4cg32c"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-flake8 python-pydocstyle))
+ (native-inputs (list python-setuptools python-wheel))
+ (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-flexcache
(package
(name "python-flexcache")