From 7127a5149049b9ddb0ab87b86c518cb795d6871e Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Thu, 6 Mar 2025 14:04:08 +0800 Subject: [PATCH] gnu: Add python-flake8-docstrings. * gnu/packages/python-xyz.scm (python-flake8-docstrings): New variable. Change-Id: I758db70b11394134221d795e38a049527aa87da8 --- gnu/packages/python-xyz.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d22720619c7d3a4c7da563dc56d2bebe5775bf0d..dfedf07eebe0e550aabf11188143996936efd4ac 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -91,7 +91,7 @@ ;;; Copyright © 2020 Diego N. Barbato ;;; Copyright © 2020 Liliana Marie Prikler ;;; Copyright © 2019 Kristian Trandem -;;; Copyright © 2020, 2021, 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2020, 2021, 2024, 2025 Zheng Junjie ;;; Copyright © 2020 EuAndreh ;;; Copyright © 2021, 2022 Morgan Smith ;;; Copyright © 2021-2025 Sharlatan Hellseher @@ -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")