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 iA93D4MtGF8LGQAA0tVLHw (envelope-from ) for ; Wed, 22 Jul 2020 12:13:55 +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 uNpXC4MtGF9yWAAAB5/wlQ (envelope-from ) for ; Wed, 22 Jul 2020 12:13:55 +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 D8B53940704 for ; Wed, 22 Jul 2020 12:13:54 +0000 (UTC) Received: from localhost ([::1]:38634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDdB-0004V2-QH for larch@yhetil.org; Wed, 22 Jul 2020 08:13:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaS-00084y-7h for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaR-0006wE-Sl for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaR-0006um-Od for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 08/10] gnu: Add python-flake8-bugbear. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:03 +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: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981326444 (code B ref 42465); Wed, 22 Jul 2020 12:11:03 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:13 +0000 Received: from localhost ([127.0.0.1]:41444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZc-0006sM-Iz for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:12 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZZ-0006r7-TQ for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:10 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 6D5F51C0015; Wed, 22 Jul 2020 12:10:09 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:37 +0200 Message-Id: <20200722120940.13811-8-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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: 3.99 X-TUID: 3euu0+FP5O7E * gnu/packages/python-xyz.scm (python-flake8-bugbear): New variable. --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 26673c20c0..6be4c29976 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7909,6 +7909,34 @@ complexity of Python source code.") ("python-pyflakes" ,python-pyflakes-1.2) ("python-mccabe" ,python-mccabe))))) +(define-public python-flake8-bugbear + (package + (name "python-flake8-bugbear") + (version "20.1.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-bugbear" version)) + (sha256 + (base32 + "0qiihb242fygzyrfynq913ak7cdmx8mcac9c0zk3y5gv16qf80mx")))) + (build-system python-build-system) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-hypothesmith" ,python-hypothesmith))) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-flake8" ,python-flake8))) + (home-page "https://github.com/PyCQA/flake8-bugbear") + (synopsis + "A plugin for Flake8 finding likely bugs and design problems in your program") + (description + "A plugin for Flake8 finding likely bugs and design problems in your program. +Contains warnings that don't belong in pyflakes and pycodestyle. It is felt that +these lints don't belong in the main Python tools as they are very opinionated and +do not have a PEP or standard behind them.") + (license license:expat))) + (define-public python-flake8-polyfill (package (name "python-flake8-polyfill") -- 2.27.0