From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wLTtH8taHF/2TgAA0tVLHw (envelope-from ) for ; Sat, 25 Jul 2020 16:16:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id umnXG8taHF8zEwAAB5/wlQ (envelope-from ) for ; Sat, 25 Jul 2020 16:16:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1BE449401CF for ; Sat, 25 Jul 2020 16:16:11 +0000 (UTC) Received: from localhost ([::1]:36392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzMqI-0007JP-4R for larch@yhetil.org; Sat, 25 Jul 2020 12:16:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzMqA-0007JF-Rl for guix-patches@gnu.org; Sat, 25 Jul 2020 12:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzMqA-0003kV-Ia for guix-patches@gnu.org; Sat, 25 Jul 2020 12:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzMqA-0004zu-Er for guix-patches@gnu.org; Sat, 25 Jul 2020 12:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH 09/10] gnu: Add python-flake8-pyi. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jul 2020 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tanguy Le Carrour , 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159569374819189 (code B ref 42465); Sat, 25 Jul 2020 16:16:02 +0000 Received: (at 42465) by debbugs.gnu.org; 25 Jul 2020 16:15:48 +0000 Received: from localhost ([127.0.0.1]:50945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzMpw-0004zR-B4 for submit@debbugs.gnu.org; Sat, 25 Jul 2020 12:15:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzMpu-0004zF-UP for 42465@debbugs.gnu.org; Sat, 25 Jul 2020 12:15:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46433) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzMpp-0003hi-3y; Sat, 25 Jul 2020 12:15:41 -0400 Received: from 84-52-226.102.3p.ntebredband.no ([84.52.226.102]:43246 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jzMpo-00013h-Fi; Sat, 25 Jul 2020 12:15:40 -0400 From: Marius Bakke In-Reply-To: <20200721115633.6088-9-tanguy@bioneland.org> References: <20200721115633.6088-1-tanguy@bioneland.org> <20200721115633.6088-9-tanguy@bioneland.org> Date: Sat, 25 Jul 2020 18:15:23 +0200 Message-ID: <874kpvtvtw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.61 X-TUID: WuBousxcNV4n --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tanguy Le Carrour writes: > * gnu/packages/python-xyz.scm (python-flake8-pyi): New variable. [...] =20=20 > +(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 hintin= g 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. Th= is 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 f= or 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? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl8cWpsACgkQoqBt8qM6 VPqZlAgAh6vC3TR46vQea/A9riwGsKVAPMdsnNrv75kLtw/bvoUYCRl4Te0wNYvs L3xddXKr7+76gZKoLzyO8z/1ao5FouJZzqJJ1nxp8D6EaXtJVqTQEsCP1G8fSAnr cTtmHfG5V5JQ4kX61mE6kQaSI5PLQpywq/tlLr8abZfTzEGv8npwfxE52D4vF6mb qF5OsmpJh14eBaez9pYyZ+TT3TPPuzt15NKLvK/ZWceeDVcD6JpGX9nRqPT88q+z jSvmO93PPb6vRLnaggJR4eyOMYfWT7gtGxiyqQvR0Y8XXyIx0j41WQTll9YDz3eA q/EwWYCfQ7tQW4uxTGoq4rIqDDB8qA== =jmCl -----END PGP SIGNATURE----- --=-=-=--