Subject: [bug#57094] [PATCH 5/9] gnu: Add python-flake8-comprehensions.

From: Nicolas Graves <[email-masked]>
Date: Wed, 10 Aug 2022 00:43:29 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6415c06d0..81bc12bbba 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10792,6 +10792,26 @@ (define-public python-flake8-bugbear
 in pyflakes and pycodestyle.")
     (license license:expat)))
 
+(define-public python-flake8-comprehensions
+  (package
+   (name "python-flake8-comprehensions")
+   (version "3.10.0")
+   (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "flake8-comprehensions" version))
+      (sha256
+       (base32 "0n2hj32cjvhzw5nfb317f7pavii8xxy03riq18xac9mawzvmh48q"))))
+   (build-system python-build-system)
+   (propagated-inputs (list python-flake8 python-importlib-metadata))
+   (home-page "https://github.com/adamchainz/flake8-comprehensions")
+   (synopsis
+    "Write better list/set/dict comprehensions for flake8")
+   (description
+    "This package provides a flake8 plugin helping to write better
+list/set/dict comprehensions.")
+   (license license:expat)))
+
 (define-public python-flake8-continuation
   (package
     (name "python-flake8-continuation")
-- 
2.37.1