@@ -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)))