[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/21: gnu: Add python-flake8-pyi.
From: |
guix-commits |
Subject: |
12/21: gnu: Add python-flake8-pyi. |
Date: |
Wed, 29 Jul 2020 18:58:53 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 4c12b09ecdb7eaa6f8af7111a105e9ac21d22e37
Author: Tanguy Le Carrour <tanguy@bioneland.org>
AuthorDate: Mon Jul 27 10:00:50 2020 +0200
gnu: Add python-flake8-pyi.
* gnu/packages/python-xyz.scm (python-flake8-pyi): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6554199..0050427 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7989,6 +7989,36 @@ plugins that intend to support Flake8 2.x and 3.x
simultaneously.")
(define-public python2-flake8-polyfill
(package-with-python2 python-flake8-polyfill))
+(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 that provides specializations for type hinting stub
files")
+ (description
+ "This package contains a plugin that provides specializations for
+type hinting stub files, especially interesting for linting typeshed. It
+adds the @file{.pyi} extension to the default value of the @code{--filename}
+command-line argument to Flake8. This means stubs are linted by default with
+this plugin enabled, without needing to explicitly list every file. It
+modifies PyFlakes runs for @file{.pyi} files to defer checking type annotation
+expressions after the entire file has been read. This enables support for
+first-class forward references that stub files use.")
+ (license license:expat)))
+
(define-public python-mistune
(package
(name "python-mistune")
- 04/21: gnu: Add nfs4-acl-tools., (continued)
- 04/21: gnu: Add nfs4-acl-tools., guix-commits, 2020/07/29
- 05/21: gnu: Add python-mypy-extensions., guix-commits, 2020/07/29
- 06/21: gnu: Add python-typing-inspect., guix-commits, 2020/07/29
- 07/21: gnu: Add python-hypothesis-5.23., guix-commits, 2020/07/29
- 09/21: gnu: Add python-lark-parser., guix-commits, 2020/07/29
- 10/21: gnu: Add python-hypothesmith., guix-commits, 2020/07/29
- 14/21: gnu: python-slugify: Update to 4.0.1., guix-commits, 2020/07/29
- 13/21: gnu: Add python-mypy., guix-commits, 2020/07/29
- 15/21: gnu: csvkit: Fix problem caused by the update of python-slugify., guix-commits, 2020/07/29
- 11/21: gnu: Add python-flake8-bugbear., guix-commits, 2020/07/29
- 12/21: gnu: Add python-flake8-pyi.,
guix-commits <=
- 18/21: gnu: mumble: Update to 1.3.2., guix-commits, 2020/07/29
- 16/21: gnu: python-cookiecutter: Update to 1.7.2., guix-commits, 2020/07/29
- 17/21: gnu: python-slugify: Remove unused input., guix-commits, 2020/07/29
- 21/21: gnu: python-sqlparse: Update to 0.3.1., guix-commits, 2020/07/29
- 19/21: gnu: gnunet-gtk: Update to 0.13.1., guix-commits, 2020/07/29
- 20/21: gnu: krita: Update to 4.3.0., guix-commits, 2020/07/29