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 240DAA034F for ; Mon, 7 Feb 2022 15:19:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FF49410FC; Mon, 7 Feb 2022 15:19:51 +0100 (CET) Received: from mail-pl1-f228.google.com (mail-pl1-f228.google.com [209.85.214.228]) by mails.dpdk.org (Postfix) with ESMTP id 437E5410EA for ; Mon, 7 Feb 2022 15:19:50 +0100 (CET) Received: by mail-pl1-f228.google.com with SMTP id c3so11232492pls.5 for ; Mon, 07 Feb 2022 06:19:50 -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=KYOfMXWkBkiAm/Zuf76HrUcrpjgryabrK1k+U8liUetTsBg+4CfkeAQcnjbUc3t9pm rwXKN7tIQxSRTdUXlMeptlVyxpAMVLYiQ8YeQWHIWQWuXANIRH4Z8vuDBbHZcfQ9PURO +iGEmegdc4wMJ76dagqlb/yuMud/F0qGWvlKo= 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=plHRBFnIUbtMrizX4OBYg5GhBy2h5p/ATTNrAu3mL2l0KE7bgiJ7JzQALyyBnFe7HC VnTFVXBSkcaFElbi2CEA6FcG6S6D6FQR1iAgn0o3zsSkfPHz1+OPCfhOskFgYASnXNJe 5K70hyKi9TwMC4Lh2qGbn3B72C4QWM/ZbIVN97YuihfftMV3fmYPjr20u5aTITd+JYiS n5EJh5yDmBBcSIAACzl+x2GTpT6e8VDio9hxAE9Sj8oYQWKCfaZ3pmEcC9kwfNIOFSmv zvcONPiY2dDq0OMScKp6EQArsVGNdlEeVZScDwRfJIfh+o1x4Ow98KL06PXv2U4pN9zN iM+A== X-Gm-Message-State: AOAM530sRO06cZT3emVwItGLxY/6bESC9961SQTJD7vYuJnH0/IfbFxQ dyfkxROkHqxLtpeTgWkrPY35GYlguk47/Md9UfBFYwUZs1WBMw7FEn+6GANELdxI/oNiJJhKqEr He0sfeCzP8NHwfMiGdr3h5CGktKI4hLEEKDsd9eEhxxiYOZVmKiQ5VFmjv4ISJu9w202WDQHA X-Google-Smtp-Source: ABdhPJwNw4rjehaNsgB4sIw/vPUjLFfrn1W1dQnX7uAsjH0eNjbt8yoaktrAQUPNgUFAC5pUw4jT5qOW2woj X-Received: by 2002:a17:903:1c2:: with SMTP id e2mr16828225plh.73.1644243589496; Mon, 07 Feb 2022 06:19:49 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id d5sm321629plg.95.2022.02.07.06.19.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Feb 2022 06:19:49 -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 92CF9605246B; Mon, 7 Feb 2022 09:19:48 -0500 (EST) From: ohilyard@iol.unh.edu To: ci@dpdk.org, alialnu@nvidia.com Cc: Owen Hilyard Subject: [PATCH v4 3/4] pw_maintainers_cli: move module doc comment Date: Mon, 7 Feb 2022 09:19:42 -0500 Message-Id: <20220207141943.11673-3-ohilyard@iol.unh.edu> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220207141943.11673-1-ohilyard@iol.unh.edu> References: <20220207141943.11673-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