Subject: [bug#41807] [PATCH 16/26] gnu: Add python-flake8-pyi.

From: Giacomo Leidi <[email-masked]>
Date: Thu, 11 Jun 2020 17:13:47 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 66fb284eec..7c78a6e4be 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20329,3 +20329,27 @@ disk files in asyncio applications.")
 to the standard @code{typing} module that are supported by the
 @code{mypy} typechecker.")
     (license license:expat)))
+
+(define-public python-flake8-pyi
+  (package
+    (name "python-flake8-pyi")
+    (version "20.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flake8-pyi" version))
+       (sha256
+        (base32
+         "1zpq4s9kp8w95pccmhhyyx1ff2zhnidcf1zb3xs46lzcx9plvnzk"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-attrs" ,python-attrs)
+       ("python-flake8" ,python-flake8)
+       ("python-pyflakes" ,python-pyflakes)))
+    (home-page "https://github.com/ambv/flake8-pyi")
+    (synopsis
+     "Flake8 plugin to enable linting .pyi files")
+    (description
+     "@{python-flake8-pyi} is a plugin for Flake8 that provides specializations
+for type hinting stub files, especially interesting for linting @code{typeshed}.")
+    (license license:expat)))
-- 
2.26.2