gnu: Add python-flake8-class-newline.

* gnu/packages/python-xyz.scm (python-flake8-class-newline): New variable.

Change-Id: I4cf791c6e075094ba0be02daec8de06bd5cf2619
This commit is contained in:
Zheng Junjie 2025-03-06 14:29:55 +08:00
parent 7127a51490
commit 19905aaf83
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -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.") implemented in pure Python, and most of them are also implemented in C.")
(license license:gpl2+))) (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 (define-public python-flake8-docstrings
(package (package
(name "python-flake8-docstrings") (name "python-flake8-docstrings")