From d98dd5855100908ab45d3df841f2c2f777664c7e Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 7 Oct 2025 13:13:45 +0100 Subject: gnu: python-flake8-class-newline: Move to pythn-check. * gnu/packages/python-xyz.scm (python-flake8-class-newline): Move from here ... * gnu/packages/python-check.scm: ... to here. Change-Id: I39dfd665d74e98771a10b1b836aa3919e97605c0 --- gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index a9f79b24c9e..0b1e1784b03 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2025 Matthew Elwin ;;; Copyright © 2025 Nicolas Graves ;;; Copyright © 2025 Sergio Pastor Pérez +;;; Copyright © 2025 Zheng Junjie ;;; ;;; This file is part of GNU Guix. ;;; @@ -772,6 +773,30 @@ test itself.") being used as variables or parameters.") (license license:gpl2))) +(define-public python-flake8-class-newline + (package + (name "python-flake8-class-newline") + (version "1.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AlexanderVanEck/flake8-class-newline") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15fw0iw2c3a3n2aarfgq7147406489xd8nk0kkj9k2x98fkwwnyh")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (propagated-inputs (list python-flake8)) + (native-inputs (list python-setuptools)) + (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-comprehensions (package (name "python-flake8-comprehensions") -- cgit v1.3