unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Giacomo Leidi <goodoldpaul@autistici.org>
To: 45514@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>
Subject: [bug#45514] [PATCH 4/8] gnu: Add python-flake8-continuation.
Date: Mon, 28 Dec 2020 22:32:41 +0100	[thread overview]
Message-ID: <20201228213245.12577-4-goodoldpaul@autistici.org> (raw)
In-Reply-To: <20201228213245.12577-1-goodoldpaul@autistici.org>

* gnu/packages/python-xyz.scm (python-flake8-continuation): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6f3b74bfab..e7ed416367 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23255,3 +23255,31 @@ supports @code{readline} shortcuts.")
     (synopsis "Client-Server SDK for Matrix")
     (description "This package provides client-server SDK for Matrix.")
     (license license:asl2.0)))
+
+(define-public python-flake8-continuation
+  (package
+    (name "python-flake8-continuation")
+    (version "1.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flake8-continuation" version))
+       (sha256
+        (base32
+         "0dzaw8jr7yhlabxhrblnrizxx17xa9ngjnbr1kidg5lapq6b9q1y"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-flake8" ,python-flake8)
+       ("python-pycodestyle" ,python-pycodestyle)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/planetlabs/flake8-continuation")
+    (synopsis "Flake8 Line Continuation Plugin")
+    (description "A Flake8 plugin that checks for the line continuation
+style to be in the preferred method according to PEP-8, specifically:
+@quotation
+The preferred way of wrapping long lines is by using Python's implied
+line continuation inside parentheses, brackets and braces.  Long lines
+can be broken over multiple lines by wrapping expressions in parentheses.
+These should be used in preference to using a backslash for line continuation.
+@end quotation")
+    (license license:asl2.0)))
-- 
2.29.2





  parent reply	other threads:[~2020-12-28 21:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 21:30 [bug#45514] [PATCH] Add zulip-term and dependencies paul
2020-12-28 21:32 ` [bug#45514] [PATCH 1/8] gnu: python-urwid: Update to 2.1.1 Giacomo Leidi
2020-12-28 21:32   ` [bug#45514] [PATCH 2/8] gnu: Add python-urwid-readline Giacomo Leidi
2020-12-28 21:32   ` [bug#45514] [PATCH 3/8] gnu: Add python-matrix-client Giacomo Leidi
2020-12-28 21:32   ` Giacomo Leidi [this message]
2020-12-28 21:32   ` [bug#45514] [PATCH 5/8] gnu: Add python-flake8-quotes Giacomo Leidi
2020-12-28 21:32   ` [bug#45514] [PATCH 6/8] gnu: Add python-snakeviz Giacomo Leidi
2021-04-01 12:15     ` Efraim Flashner
2020-12-28 21:32   ` [bug#45514] [PATCH 7/8] gnu: Add python-zulip Giacomo Leidi
2020-12-28 21:32   ` [bug#45514] [PATCH 8/8] gnu: Add zulip-term Giacomo Leidi
2021-04-01 12:15 ` bug#45514: [PATCH] Add zulip-term and dependencies Efraim Flashner

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=20201228213245.12577-4-goodoldpaul@autistici.org \
    --to=goodoldpaul@autistici.org \
    --cc=45514@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).