guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55474] [PATCH 06/18] gnu: Add python-flake8-blind-except.


From: Nicolas Graves
Subject: [bug#55474] [PATCH 06/18] gnu: Add python-flake8-blind-except.
Date: Tue, 17 May 2022 09:54:36 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5d6a60c771..7f67a93f4b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11088,6 +11088,25 @@ (define-public python-flake8-3.8
      (list python-pycodestyle-2.6 python-entrypoints python-pyflakes-2.2
            python-mccabe))))
 
+(define-public python-flake8-blind-except
+  (package
+    (name "python-flake8-blind-except")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flake8-blind-except" version))
+       (sha256
+        (base32 "05nxsxfzfhwsm8gys90228imm2qbnqnw5y8bfqyfngnbkmd5fnpj"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pycodestyle python-pep8))
+    (home-page "https://github.com/elijahandrews/flake8-blind-except";)
+    (synopsis "A flake8 extension that checks for blind except: statements")
+    (description
+     "This package provides a flake8 extension that checks for blind except:
+statements.")
+    (license license:expat)))
+
 (define-public python-flake8-bugbear
   (package
     (name "python-flake8-bugbear")
-- 
2.36.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]