unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Giacomo Leidi <goodoldpaul@autistici.org>
To: 49281@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>
Subject: [bug#49281] [PATCH 6/7] gnu: Add python-pep8-naming.
Date: Wed, 30 Jun 2021 00:42:44 +0200	[thread overview]
Message-ID: <20210629224245.29530-6-goodoldpaul@autistici.org> (raw)
In-Reply-To: <20210629224245.29530-1-goodoldpaul@autistici.org>

* gnu/packages/python-xyz.scm (python-pep8-naming): New variable.
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 21ae2fe4f5..c7f91dd977 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9245,6 +9245,36 @@ PEP 8.")
 (define-public python2-pep8
   (package-with-python2 python-pep8))
 
+(define-public python-pep8-naming
+  (package
+    (name "python-pep8-naming")
+    (version "0.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pep8-naming" version))
+       (sha256
+        (base32
+         "0937rnk3c2z1jkdmbw9hfm80p5k467q7rqhn6slfiprs4kflgpd1"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests are broken. They work from the top
+     ;; of the master branch, so hopefully we'll
+     ;; be able to enable them in the future.
+     '(#:tests? #f))
+    (propagated-inputs
+     `(("python-flake8" ,python-flake8)
+       ("python-flake8-polyfill"
+        ,python-flake8-polyfill)))
+    (home-page
+     "https://github.com/PyCQA/pep8-naming")
+    (synopsis
+     "Check PEP-8 naming conventions")
+    (description
+     "This package provides the @code{pep8-naming} Python module, a
+plugin for flake8 to check PEP-8 naming conventions.")
+    (license license:expat)))
+
 (define-public python-pep517
   (package
     (inherit python-pep517-bootstrap)
-- 
2.32.0





  parent reply	other threads:[~2021-06-29 22:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-29 22:38 [bug#49281] Add dynaconf paul
2021-06-29 22:42 ` [bug#49281] [PATCH 1/7] gnu: Add python-flake8-debugger Giacomo Leidi
2021-06-29 22:42   ` [bug#49281] [PATCH 2/7] gnu: Add python-flake8-todo Giacomo Leidi
2021-06-29 22:42   ` [bug#49281] [PATCH 3/7] gnu: Add python-dotenv Giacomo Leidi
2021-06-29 22:42   ` [bug#49281] [PATCH 4/7] gnu: Add python-box Giacomo Leidi
2021-06-29 22:42   ` [bug#49281] [PATCH 5/7] gnu: python-ruamel.yaml: Update to 0.17.10 Giacomo Leidi
2021-06-29 22:42   ` Giacomo Leidi [this message]
2021-06-29 22:42   ` [bug#49281] [PATCH 7/7] gnu: Add dynaconf Giacomo Leidi
2021-07-23  6:14 ` [bug#49281] " Sarah Morgensen
2021-08-02 18:13   ` paul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210629224245.29530-6-goodoldpaul@autistici.org \
    --to=goodoldpaul@autistici.org \
    --cc=49281@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).