diff options
author | Zheng Junjie <z572@z572.online> | 2025-03-06 14:29:55 +0800 |
---|---|---|
committer | Zheng Junjie <z572@z572.online> | 2025-03-26 12:19:24 +0800 |
commit | 19905aaf83d2955764d3bbdce04f5b0ebb450f11 (patch) | |
tree | 7568d395a223928d7ca8d5e8ea0220ece68fbc29 | |
parent | 7127a5149049b9ddb0ab87b86c518cb795d6871e (diff) | |
download | guix-19905aaf83d2955764d3bbdce04f5b0ebb450f11.tar.gz guix-19905aaf83d2955764d3bbdce04f5b0ebb450f11.zip |
gnu: Add python-flake8-class-newline.
* gnu/packages/python-xyz.scm (python-flake8-class-newline): New variable.
Change-Id: I4cf791c6e075094ba0be02daec8de06bd5cf2619
-rw-r--r-- | gnu/packages/python-xyz.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dfedf07eeb..7eff7735be 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -584,6 +584,25 @@ 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-class-newline + (package + (name "python-flake8-class-newline") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-class-newline" version)) + (sha256 + (base32 "1w8z88asz90jm1msz06vi7dj0da8sfw5ajyvabfv7f4fr0iljk2i")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-flake8)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://github.com/AlexanderVanEck/flake8-class-newline") + (synopsis "Flake8 lint for newline after class definitions") + (description "This package provides a flake8 extension to lint for newline +after class definitions.") + (license license:expat))) + (define-public python-flake8-docstrings (package (name "python-flake8-docstrings") |