From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1831EA034F for ; Mon, 7 Feb 2022 16:08:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0321F410F3; Mon, 7 Feb 2022 16:08:42 +0100 (CET) Received: from mail-pl1-f226.google.com (mail-pl1-f226.google.com [209.85.214.226]) by mails.dpdk.org (Postfix) with ESMTP id B485E410F3 for ; Mon, 7 Feb 2022 16:08:40 +0100 (CET) Received: by mail-pl1-f226.google.com with SMTP id y7so6068046plp.2 for ; Mon, 07 Feb 2022 07:08:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=D+eYoyh+1SoiYIzChhfiMjkVFINOO2idbnm1FsrPM6s=; b=d55EKjW8V3Qt9uHV6txKDbcBJVaf4zbWKoxUMpvba1fjJCHCdaQxOQtB+ebmtKgx9r 86ZqZPIcDDgNFdC0FCSNBMlLEmGltVtLbsLP17AK34NQiVuumsRdsH4o4uKWe+YpEEiY WKmZ3lDZAPcQFo2FGBI8feYI5x76jZ50ONFAM= 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=D+eYoyh+1SoiYIzChhfiMjkVFINOO2idbnm1FsrPM6s=; b=i0QoB7HA+f7fFHeUAmNZnaOXZQrmKydC6dKkhepFqpKzBuxsioDWpGnY4CyP0/rIxJ gIg7Z3/y4ia/K3aIbak3ZgxLQi+JYmLcPgWwIkEpONAUEqlur5kqyMSL0GYQHzS9+7Z+ 48XktZvhAft25ESJ0npdqcCwRbU4XJdfqAGPuPPB6ZMCmdv6H5BNpUycjkPIFltFMu7h wpPu53Z+tNEKsJ0UEsnR0G6BEWp1+m9wZw3bUpvhl/ulAB/fopwUFqjJ/hvS3ub4Nc5f 8nBvrHwqMaPJLsr1z1PXnk97LUc/m8rnH3x1fnCSFVZPHn7Guml903e1HmrZNlDptaYF vS/A== X-Gm-Message-State: AOAM531MtX8tA30cFJFrQr8GYv41dTuoGKo7CjWWz6aMeRN/f47NjUzH jTMjwsKyy6hl3l1Vz2mzPsk7z+PSIM+KxYjD7T2DBx2deojKZ4BY55fnQbQbojpANR8AotVe2em dz9rW7qY7IPrzf/cTyH3W5lMtu0QdCQQMfss2vFxL3iMg6ZcUOXZyFjIIt+mLJjaxw5M/34hW X-Google-Smtp-Source: ABdhPJyDvWGb6gXszcM3G3qW18fU6EUrx6d4loehzSIxvlEfu6Lcvvk2gfaDnLt07ncb/X3B3eeXtW3oLszo X-Received: by 2002:a17:902:a9c5:: with SMTP id b5mr17466plr.167.1644246519822; Mon, 07 Feb 2022 07:08:39 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id u12sm36720plf.87.2022.02.07.07.08.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Feb 2022 07:08:39 -0800 (PST) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1257::105d]) by postal.iol.unh.edu (Postfix) with ESMTP id A5E616052472; Mon, 7 Feb 2022 10:08:38 -0500 (EST) From: ohilyard@iol.unh.edu To: ci@dpdk.org, alialnu@nvidia.com Cc: Owen Hilyard Subject: [PATCH v5 2/3] pw_maintainers_cli: move module doc comment Date: Mon, 7 Feb 2022 10:08:25 -0500 Message-Id: <20220207150826.18950-2-ohilyard@iol.unh.edu> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220207150826.18950-1-ohilyard@iol.unh.edu> References: <20220207150826.18950-1-ohilyard@iol.unh.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org From: Owen Hilyard The import statements in the file have been moved below the module doc comment per PEP 257. Signed-off-by: Owen Hilyard --- tools/pw_maintainers_cli.py | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/tools/pw_maintainers_cli.py b/tools/pw_maintainers_cli.py index fd69081..0705eee 100755 --- a/tools/pw_maintainers_cli.py +++ b/tools/pw_maintainers_cli.py @@ -3,19 +3,6 @@ # SPDX-License-Identifier: (BSD-3-Clause AND GPL-2.0-or-later AND MIT) # Copyright 2019 Mellanox Technologies, Ltd -import os -import sys -import re -import argparse -import fnmatch - -from requests.exceptions import HTTPError - -from git_pw import config -from git_pw import api -from git_pw import utils -from git_pw import patch as git_pw_patch - """ Description: This script uses the git-pw API to retrieve Patchwork's @@ -53,6 +40,18 @@ Or if you want to use inside other scripts: maintainers = maintainers.get_maintainers(tree_url) """ +import os +import sys +import re +import argparse +import fnmatch + +from requests.exceptions import HTTPError + +from git_pw import config +from git_pw import api +from git_pw import utils +from git_pw import patch as git_pw_patch MAINTAINERS_FILE_PATH = os.environ.get('MAINTAINERS_FILE_PATH') if not MAINTAINERS_FILE_PATH: -- 2.30.2