aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2022-01-11 16:25:14 +0000
committerHartmut Goebel <h.goebel@crazy-compilers.com>2022-06-16 09:25:55 +0200
commit2950ef2fffa6b00ba35e2e8e3fb5074d812166f1 (patch)
tree9eb8dc5b22d89b0f53f11ed7b4f8b10f1f4f4863 /gnu/packages/python-xyz.scm
parent7a8beb3deae0d61d242f5639d2835ce76d27b4c0 (diff)
downloadguix-2950ef2fffa6b00ba35e2e8e3fb5074d812166f1.tar
guix-2950ef2fffa6b00ba35e2e8e3fb5074d812166f1.tar.gz
gnu: Add python-flake8-blind-except.
* gnu/packages/python-xyz.scm (python-flake8-blind-except): New variable. Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f9c5d909f6..53d74c1719 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10262,6 +10262,26 @@ cyclomatic complexity of Python source code.")
(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)
+ (arguments
+ `(#:tests? #f)) ; no tests
+ (native-inputs (list python-pycodestyle))
+ (home-page "https://github.com/elijahandrews/flake8-blind-except")
+ (synopsis "Check for blind @code{except:} statements")
+ (description "This package provides a flake8 extension that checks for
+blind @code{except:} statements.")
+ (license license:expat)))
+
(define-public python-flake8-bugbear
(package
(name "python-flake8-bugbear")