From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +HUYLt2BVF/vIAAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 06:29:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QCHUKd2BVF8EZwAAbx9fmQ (envelope-from ) for ; Sun, 06 Sep 2020 06:29:49 +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 6160794028F for ; Sun, 6 Sep 2020 06:29:49 +0000 (UTC) Received: from localhost ([::1]:54422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEnXF-0003VM-CC for larch@yhetil.org; Sun, 06 Sep 2020 01:48:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEnX2-000303-3G for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEnX1-0006rF-Qh for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEnX1-0004dy-Pg for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 07/10] gnu: Add python-autoflake. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937127217772 (code B ref 43233); Sun, 06 Sep 2020 05:48:03 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:52 +0000 Received: from localhost ([127.0.0.1]:44550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWq-0004ca-2L for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWo-0004cB-CV for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:50 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id B3A542400FB for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371264; bh=yuvCTheC7TLJaZ8x2jP3QGZfxXRH3g7GqlgFttmaAK4=; h=From:To:Cc:Subject:Date:From; b=hLwgsTElPXQlY+1Ks1aQtY3uPoQVWaoxCB7SGR51RVVNzhA7AMn/r3P7SdX4s26uG Xh2t6TH4/etK0ByE4iUmTgtdha8yaofvZPujAqIEcxmIWfmGYArUe1slwx+VshtZaV J2Zu7D1QZyqUd168G8l8aMKE6RYGlIyKhyhTi8aMAtvQ1C99jrfO94KslnE90jkcFz WIMvWULaSF5pO23aR7BeD8czeMyh+eWUOnKnaAZGRj+mJ1Xn7RUqqmYx7Eer59SYQi BDlIGn/RfSu3Ym6DA9JJo/jaU9Ew2REQGsuEmdKaPzb4yph4G+BuPiFbiauG8SSu7b a9bgnY+y97FDA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRg3Jyxz9rxM; Sun, 6 Sep 2020 07:47:43 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:50 -0300 Message-Id: <20200906054653.467-6-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=hLwgsTEl; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 5.09 X-TUID: FNr2udYD0fQp * gnu/packages/python-xyz.scm (python-autoflake): New variable. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2b5d07feb1..c82d982372 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8199,6 +8199,30 @@ first-class forward references that stub files use.") lints.") (license license:bsd-2))) +(define-public python-autoflake + (package + (name "python-autoflake") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "autoflake" version)) + (sha256 + (base32 "0nzr057dbmgprp4a52ymafdkdd5zp2wcqf42913xc7hhvvdbj338")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyflakes" ,python-pyflakes))) + (home-page "https://github.com/myint/autoflake") + (synopsis "Removes unused imports and unused variables") + (description + "@code{autoflake} removes unused imports and unused variables from Python +code as reported by @code{pyflakes}. + +By default, it only removes unused imports for modules that are part of the +standard library. Removal of unused variables is also disabled by default. +It also removes useless @code{pass} statements.") + (license license:expat))) + (define-public python-mistune (package (name "python-mistune") -- 2.20.1