From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uPgVKiWmnmJlcQAAbAwnHQ (envelope-from ) for ; Tue, 07 Jun 2022 03:13:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SKH2KSWmnmItsQAAauVa8A (envelope-from ) for ; Tue, 07 Jun 2022 03:13:09 +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 616532917 for ; Tue, 7 Jun 2022 03:13:09 +0200 (CEST) Received: from localhost ([::1]:58278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyNmO-0002Wc-JG for larch@yhetil.org; Mon, 06 Jun 2022 21:13:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyNlL-0002VS-Jc for guix-patches@gnu.org; Mon, 06 Jun 2022 21:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyNlL-0003FX-Ba for guix-patches@gnu.org; Mon, 06 Jun 2022 21:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyNlL-0004Ao-7T for guix-patches@gnu.org; Mon, 06 Jun 2022 21:12:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55814] [PATCH v3 4/8] `python-flake8` now supports `#:tests?` Resent-From: Christopher Rodriguez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Jun 2022 01:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55814@debbugs.gnu.org Cc: Christopher Rodriguez Received: via spool by 55814-submit@debbugs.gnu.org id=B55814.165456427315916 (code B ref 55814); Tue, 07 Jun 2022 01:12:03 +0000 Received: (at 55814) by debbugs.gnu.org; 7 Jun 2022 01:11:13 +0000 Received: from localhost ([127.0.0.1]:37154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyNkW-00048Z-Qn for submit@debbugs.gnu.org; Mon, 06 Jun 2022 21:11:13 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:34595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyNkV-00047V-3Q for 55814@debbugs.gnu.org; Mon, 06 Jun 2022 21:11:11 -0400 Received: by mail-qt1-f174.google.com with SMTP id c8so11651170qtj.1 for <55814@debbugs.gnu.org>; Mon, 06 Jun 2022 18:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wUrIDqzX7NDVVHxIu0u6yne3YIvA2njJ1ehwB5gWXy0=; b=M1gR2Z663xJ1KIKuLx8ADtyoeg0cUS5mB5YmLBz4tAgsL7FMasuv1npFpLnP+1UCiG EWpCiSqYkRROCMW8vOSaUdmGtXUIwjLQnEYxRBQaIrC6ab62QSb5fS7OgWSFJDfVkQ/F I72zsFseLwW4hlcyIXNfXTGv34QZZIQtm0SgjbS834oMB/cOK7N2ai0wk0jyK7bMdP2Z KQivqMAK0xOx9LnV9S7bPiFdPei7YCV+Xf5hLTRCx2l7r674D9ASDEH1jzEmlTDMlBSA lY4fHitrsHJfYF9+8vnuFVf/JY5ept2CxICtcf8WRqU3O+Q46N8ltGD1mD0UfpbgrC15 f2Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wUrIDqzX7NDVVHxIu0u6yne3YIvA2njJ1ehwB5gWXy0=; b=S1w0qLPSdA/GlxkDLT0VDNNyFcWrmPjR0DwYTIt2ZwevCcrqPwc1FSvCEH1UVI5Hln ZOzpusCYix+aWthKM+iiS42DLVEImdOvrrgrJOIsSPEzLVtIz0EGdrMKG8kx2RJoTm80 +pmeZiKlLLO/JHGo/vv3mSiYO8ke7Kea9ah6LRpOki6qqrhLPAxOHLZV9wyuD2jHYg3a K4S6q+wKAaSEocGjHiiCNv4WRTYWyJ1OaWiJ8RPucy4ikXbbipRKjq/IvgfpiAT5fOb+ z1O59htHiRQK1NAIBYvmECnstM22nkIUTa58841YfvGx8IWjgV/cNkH9SQZDVW660xTa 9ecQ== X-Gm-Message-State: AOAM53384T82NrBlcn1WHHa28g4bcTpeaM/DrEslnxmD7MeeDrpOMxzH BxheYu6TvaNfDifLMjBhlgQiCMJ+36o= X-Google-Smtp-Source: ABdhPJxz1j9qGzaVcuvpyToh2fygAUspZQVPNw0Lqug0ek21Y9+c4o7tOor3/zwRn0GllCuBcWwD1A== X-Received: by 2002:a05:622a:1d1:b0:2f9:34d3:d900 with SMTP id t17-20020a05622a01d100b002f934d3d900mr20885460qtw.89.1654564265290; Mon, 06 Jun 2022 18:11:05 -0700 (PDT) Received: from gmail.com (72-21-196-64.amazon.com. [72.21.196.64]) by smtp.gmail.com with ESMTPSA id v5-20020a05620a0f0500b006a6a1bae173sm8524289qkl.7.2022.06.06.18.11.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 18:11:04 -0700 (PDT) From: Christopher Rodriguez Date: Mon, 6 Jun 2022 21:10:08 -0400 Message-Id: <20220607011012.1168112-4-yewscion@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607011012.1168112-1-yewscion@gmail.com> References: <20220607011012.1168112-1-yewscion@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" 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=1654564389; h=from:from:sender:sender: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:dkim-signature; bh=wUrIDqzX7NDVVHxIu0u6yne3YIvA2njJ1ehwB5gWXy0=; b=SAlxfQepGnMtXwrk6spvjFQaShXehlyNbbxbnCBO+YCV4cQXIwOtZIpf2vNxFohvcKcez2 4YHTnv8HXA/22TAhVlkcRk8U7g3r3KyIQYPt/EtMJAK7BwAWnuV0VhEKiSOLmuj97Yxyb3 XtqcTDSQIqXRs0iWLp8wTH4xdntlQU/meKK/oQsCN2AadVi6InX0Xb86gEO56RvOZsRubs /u/64W4wnFwtIlQSBKthp/179S+Vc5wWdkNjmblkoxxG7TKGoHb0QXUOqAmnMeIjLpl3Bq Bp3W50rPlpFPVdb1mOLT/GH1oFgFIZkiicQI182fTW3W3m8ThTAlpqrp8HZgdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654564389; a=rsa-sha256; cv=none; b=E5BXQeGW/TEyQkAgpGuMKdHa5FGD1Xh+ijhpvZ5AFmx7rdguJgwAYccyGjKRN2BvQsMhBz UNY4k+/J2vVxzbQ5NFG/EcpQXS/ZfM2pCQgADJ41vuESnGf+X+fv324hU6Bcu5ylILyRE7 fz1qQZrizDqyHoOekly2t/pRr8a2Iu9ESxv27zyMKbVzxPTHKtSX01Hgh3vGhW9xELUZFG I34xM9IDEgWLCFxPrZSCgsY6aQvzxcFbfyjpRA29ax8q/QrUZUiZFolebmm7KmWEacucXL l1TYYcR5nSMbNEZGXFL6N+XTf7qUbBKE9Ih+3wQXZE0oNM8R/gLIWAID/wbVLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=M1gR2Z66; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=M1gR2Z66; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 616532917 X-Spam-Score: 7.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5NRjqieA3tJC [Bug: 55814] --- gnu/packages/python-xyz.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 48311c6c33..de996826e1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10205,9 +10205,10 @@ (define-public python-flake8 (arguments `(#:phases (modify-phases %standard-phases (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-v")))))) + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-v"))))))) (propagated-inputs (list python-pycodestyle python-entrypoints python-pyflakes python-mccabe)) (native-inputs (list python-mock python-pytest)) -- 2.36.1