From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E48D0A04E7; Wed, 4 Nov 2020 08:03:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 81119C325; Wed, 4 Nov 2020 08:03:56 +0100 (CET) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by dpdk.org (Postfix) with ESMTP id D7C72C31F for ; Wed, 4 Nov 2020 08:03:53 +0100 (CET) Received: by mail-pf1-f175.google.com with SMTP id z3so10148170pfz.6 for ; Tue, 03 Nov 2020 23:03:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WZMWHR1ZZtcDBgVcJqlZHgBBjt8yTr9fVTX3TrwD6Ig=; b=R/MYmMddUlQPc8xmsBRUKvrj2kcCmnaWOpXZrwTFeFLJG8Sjr0npncZHV0I+lsAXqB XT9AU1lLCY9xFAiQ+WqUxCK6sFRX5E7mhZc7CcQGQ2Op2fSlqvpFke5jbZhGdNGI7opM X6P5gOwii+Pv3+b+E+Ecu8BVSyEyidlKtkcxpPL3eIlCjcgZefPsjzqpAfZKKud/E7kX FU6Jcr2vjzLRAECWCV8vaNJXDZdcYSf7HI8MzxqcBwK7MiwYcjptx5UGWlAf5e09Y18j W8URvlcdymVlyV5qqJ9ahz3U28GRHdHOuLDSBP1ch1Ccot8ILsJO+SsMCp6JgoduMuwX 8UTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WZMWHR1ZZtcDBgVcJqlZHgBBjt8yTr9fVTX3TrwD6Ig=; b=pYTQv4EMbFvIhqdma2DDf1q2x4dsjtzbgTpB4z9JPigTPpGU+2U4dQ4pJA64RFuvtC tgb5SC9zz4i3sqH2yj11vXW9o7DPBQcfeNKgstezJXBpQ3u2NdxEptm87ExNARsDBVoD ALa9NxEtn3GAf9YgUVpAyKyEipjMcKTtwo+Gifsi2tOc+ZZi1k0/6Y9R/sqVPa2KWJmd H1TWXsDGZHphEJ3lAkQmrTqiXJMvlhNTSJfxauJDyRi7wl4Q7ZmRwVVuFbsaUWwsaVGc wVBYcUm6I70t6GawcH16JjSo72IajTqMmlhIyPmRHyIWH/kcxf/ddUso9uLq+6PKXDUj sqEA== X-Gm-Message-State: AOAM5303R6ubBk/j5H+ZNEJjZs8cGmUHyWSzx8Qst/MXbGWsSGwVLfCb FAjXRRwKgTi3KP2zoI8JUXuevs72iLCSj9C3 X-Google-Smtp-Source: ABdhPJyOSwVyxPjrKjFnnVPbJMH+NFS8gwcLbBE43CeD003HK1wgVQoHIGMxu02Nn1kHPcrA7kTsAw== X-Received: by 2002:a17:90a:ea16:: with SMTP id w22mr3052709pjy.64.1604473432713; Tue, 03 Nov 2020 23:03:52 -0800 (PST) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z21sm1181177pfa.158.2020.11.03.23.03.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 23:03:51 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 3 Nov 2020 23:03:44 -0800 Message-Id: <20201104070350.28224-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200906013133.26360-12-stephen@networkplumber.org> References: <20200906013133.26360-12-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" 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(-) -- 2.27.0