From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kL/qFVvj8mK8OgEAbAwnHQ (envelope-from ) for ; Wed, 10 Aug 2022 00:44:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AGi+FVvj8mKvUQEAauVa8A (envelope-from ) for ; Wed, 10 Aug 2022 00:44:43 +0200 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 0C831413DB for ; Wed, 10 Aug 2022 00:44:43 +0200 (CEST) Received: from localhost ([::1]:41036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLXxq-0003fR-92 for larch@yhetil.org; Tue, 09 Aug 2022 18:44:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLXxD-0002mU-Ib for guix-patches@gnu.org; Tue, 09 Aug 2022 18:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLXxD-0004GR-9Q for guix-patches@gnu.org; Tue, 09 Aug 2022 18:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLXxD-00059h-19 for guix-patches@gnu.org; Tue, 09 Aug 2022 18:44:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57094] [PATCH 4/9] gnu: Add python-flake8-assertive. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Aug 2022 22:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57094@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 57094-submit@debbugs.gnu.org id=B57094.166008503119720 (code B ref 57094); Tue, 09 Aug 2022 22:44:02 +0000 Received: (at 57094) by debbugs.gnu.org; 9 Aug 2022 22:43:51 +0000 Received: from localhost ([127.0.0.1]:45445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLXx1-00057z-Fw for submit@debbugs.gnu.org; Tue, 09 Aug 2022 18:43:51 -0400 Received: from 5.mo576.mail-out.ovh.net ([46.105.43.105]:52455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLXwz-00057d-4N for 57094@debbugs.gnu.org; Tue, 09 Aug 2022 18:43:49 -0400 Received: from player755.ha.ovh.net (unknown [10.108.1.170]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 3483D23DA0 for <57094@debbugs.gnu.org>; Tue, 9 Aug 2022 22:43:46 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player755.ha.ovh.net (Postfix) with ESMTPSA id 7D49C2D7C8ED3; Tue, 9 Aug 2022 22:43:45 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Wed, 10 Aug 2022 00:43:28 +0200 Message-Id: <20220809224333.28437-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809224333.28437-1-ngraves@ngraves.fr> References: <20220809224333.28437-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 16366643999170945762 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeguddgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeehhedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehjedtleegseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeei X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660085083; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Xmf1fSX/blOH/cY2KWZB/EEOMdTxxMQYBw7CKBQ9z0E=; b=Mz2pytxndNA4XQ9Hhp8mXMboq8qwHBb0LG2/Rk0fbC+1TtOypVu1CuVxPOcCYZIyHxg348 KHI2pZKO4qtO7CQMpWRDWsX680xUF1eyBcjMZGgQnQBMwsXLtgAaRsoXEAmQyBkj9SZrUm qgV9aRW/Yj+q7hP4QnnnNhDybIXAJwxQvOYGIfHG1yFE1sds/U6d+sdq9+cKWS8PRqeZIB 213B3jGzvBjuCuxtXn3Sni0I51P7XEAP8CDp/3I97jsCI8pjMMSi2tJWJm07rzZuvQgAeL 1CmUi2mcBYgvcUGP27umXNthRx++4jvaUADKc8VypbCEWwYvxYNviaEZtrB4aw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660085083; a=rsa-sha256; cv=none; b=Lt7LWTihtfDrG8yPxrWFbrFBlsZ+50yYzZ5z/+elu3xHkBMRlw6oyeYTkshS1+iktMSXhC bnzYpDxEhzN2X/f06452D9xODO2aCmM1oLoViWqXX31lYIl2SYocRZ3wXx9dZMzmf5H294 LdPqkr74GYiiODYDNG5wXLrc8k2RM9l0CWfdklnpW9hvZ4P/DraRHbt2jVNCc1gM4THd+E 6aEaNWZvE0aygvmwapsup6f/Bh9iRxQQHbZ+Ajd46Yh8ab6gZu3DnUaWREH0A2tLWAcUvZ IfPjk/RBS36XYmTGbqsBzeB7CV7+LwFVASAM+uOJyHh2Hk+PjIVqJNzws2gPaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0C831413DB X-Spam-Score: -3.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: DtLt8zLNHTLe * gnu/packages/python-xyz.scm (python-flake8-assertive): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 90b3c6686f..c6415c06d0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10713,6 +10713,31 @@ (define-public python-flake8-3.8 (list python-pycodestyle-2.6 python-entrypoints python-pyflakes-2.2 python-mccabe)))) +(define-public python-flake8-assertive + (package + (name "python-flake8-assertive") + (version "2.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jparise/flake8-assertive") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "139cda03jgwasz6gqx41gnyvk28iz8w68liqcbn46h2zjg20c6ck")))) + (build-system python-build-system) + (propagated-inputs (list python-flake8)) + (home-page "https://github.com/jparise/flake8-assertive") + (synopsis "Assert method checker for flake8 unit-testing.") + (description "\ +This package provides @code{flake8-assertive}, a Flake8 extension that +encourages using richer, more specific unittest assertions beyond just the +typical @code{assertEqual(a, b)} and @code{assertTrue(x)} methods. The +suggested methods perform more precise checks and provide better failure +messages than the generic methods.") + (license license:expat))) + (define-public python-flake8-blind-except (package (name "python-flake8-blind-except") -- 2.37.1