From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C3E7C2D0A3 for ; Wed, 4 Nov 2020 09:29:04 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 2197E20867 for ; Wed, 4 Nov 2020 09:29:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2197E20867 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 120A8C8D0; Wed, 4 Nov 2020 10:29:02 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 14C03C8B6 for ; Wed, 4 Nov 2020 10:28:58 +0100 (CET) IronPort-SDR: luRR3QyhoWl87MvvaRoSBkXDr6S+RZryWkjSx//cVr+qbetBeEn7+XuxU5WDvVHEPBIfjXhh9z OBoo+qy0VAag== X-IronPort-AV: E=McAfee;i="6000,8403,9794"; a="165684319" X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="165684319" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2020 01:28:57 -0800 IronPort-SDR: LdJD+DyP6NambBZQpfPheASZdaGO7oWvp/z8ehEHgTm6I5NjRTk2ZscglQ4e6g176IKDt8Dm83 GUjzoD7hUnlQ== X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="538845928" Received: from bricha3-mobl.ger.corp.intel.com ([10.249.46.64]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 04 Nov 2020 01:28:56 -0800 Date: Wed, 4 Nov 2020 09:28:52 +0000 From: Bruce Richardson To: Stephen Hemminger Cc: dev@dpdk.org Message-ID: <20201104092852.GB58@bricha3-MOBL.ger.corp.intel.com> References: <20200906013133.26360-12-stephen@networkplumber.org> <20201104070350.28224-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201104070350.28224-1-stephen@networkplumber.org> Subject: Re: [dpdk-dev] [PATCH v2 0/6] dpdk-devbind: python lint cleanups X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Nov 03, 2020 at 11:03:44PM -0800, Stephen Hemminger wrote: > This addresses several warnings from python3 lint. > Split out from earlier patchset > > Stephen Hemminger (6): > dpdk-devbind: use argparse instead of getopt > dpdk-devbind: fix indentation > dpdk-devbind: fix python lint warnings for imports > dpdk-devbind: do not use len(x) to test for empty > dpdk-devbind: fix unnecessary else after return > dpdk-devbind: use in to test for multiple strings > > usertools/dpdk-devbind.py | 315 +++++++++++++++++--------------------- > 1 file changed, 142 insertions(+), 173 deletions(-) > Series-acked-by: Bruce Richardson