[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42465] [PATCH 09/10] gnu: Add python-flake8-pyi.
From: |
Marius Bakke |
Subject: |
[bug#42465] [PATCH 09/10] gnu: Add python-flake8-pyi. |
Date: |
Sat, 25 Jul 2020 18:15:23 +0200 |
Tanguy Le Carrour <tanguy@bioneland.org> writes:
> * gnu/packages/python-xyz.scm (python-flake8-pyi): New variable.
[...]
> +(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
> + "A plugin for Flake8 that provides specializations for type hinting
> stub files.")
No punctuation or article (you probably got that by now). :-)
> + (description
> + "A plugin for Flake8 that provides specializations for type hinting
> stub files,
> +especially interesting for linting typeshed. 1) Adds the .pyi extension to
> +the default value of the --filename command-line argument to Flake8. This
> means
> +stubs are linted by default with this plugin enabled, without needing to
> explicitly list
> +every file. 2) Modifies PyFlakes runs for .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.")
And full sentence, i.e. "This package contains a plugin ...". Also
@file{.pyi}.
The 1) and 2) reads "weird" to me, maybe they can be cut off and just
use the text? Or perhaps they should be on separate lines, perhaps with
@enumerate or similar?
signature.asc
Description: PGP signature
- [bug#42465] [PATCH 02/10] gnu: python-hypothesis: Update to 5.20.0., (continued)
- [bug#42465] [PATCH 03/10] gnu: Add python-mypy-extensions., Tanguy Le Carrour, 2020/07/21
- [bug#42465] [PATCH 04/10] gnu: Add python-typing-inspect., Tanguy Le Carrour, 2020/07/21
- [bug#42465] [PATCH 05/10] gnu: Add python-libcst., Tanguy Le Carrour, 2020/07/21
- [bug#42465] [PATCH 06/10] gnu: Add python-lark-parser., Tanguy Le Carrour, 2020/07/21
- [bug#42465] [PATCH 09/10] gnu: Add python-flake8-pyi., Tanguy Le Carrour, 2020/07/21
- [bug#42465] [PATCH 09/10] gnu: Add python-flake8-pyi.,
Marius Bakke <=
- [bug#42465] [PATCH 10/10] gnu: Add python-mypy., Tanguy Le Carrour, 2020/07/21
[bug#42465] [PATCH 07/10] gnu: Add python-hypothesmith., Tanguy Le Carrour, 2020/07/21
[bug#42465] [PATCH 08/10] gnu: Add python-flake8-bugbear., Tanguy Le Carrour, 2020/07/21
[bug#42465] [PATCH 01/10] gnu: python-typing-extension: Update to 3.7.4.2., Marius Bakke, 2020/07/25