diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-07 13:13:45 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-07 13:34:12 +0100 |
| commit | d98dd5855100908ab45d3df841f2c2f777664c7e (patch) | |
| tree | 084f37a4a39fee6ef13a7764e3ff17df33d70db4 /gnu/packages | |
| parent | 65f814187633d5f944ebaf3fb0d1fb0aedaca70d (diff) | |
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
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-check.scm | 25 | ||||
| -rw-r--r-- | gnu/packages/python-xyz.scm | 23 |
2 files changed, 25 insertions, 23 deletions
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 <elwin@northwestern.edu> ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> ;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> +;;; Copyright © 2025 Zheng Junjie <z572@z572.online> ;;; ;;; 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") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 28c8f9f35b7..70d656f974e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -852,29 +852,6 @@ equivalents.") system.") (license license:expat))) -(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-docstrings (package (name "python-flake8-docstrings") |
