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 DAA1FA00C5 for ; Tue, 1 Feb 2022 22:35:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D155541C2E; Tue, 1 Feb 2022 22:35:57 +0100 (CET) Received: from mail-oo1-f98.google.com (mail-oo1-f98.google.com [209.85.161.98]) by mails.dpdk.org (Postfix) with ESMTP id 804FF40691 for ; Tue, 1 Feb 2022 22:35:55 +0100 (CET) Received: by mail-oo1-f98.google.com with SMTP id b15-20020a4a878f000000b002dccc412166so4450682ooi.11 for ; Tue, 01 Feb 2022 13:35:55 -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=bFR9XTi76OImytp0/vQDT+e1SbWc3JqsKrGh1KA4yn9sf9XzzFwzZwKWU/7ZtSxeNh fTSW9+ox7Yedb9i+Kl/HXLeDsdQeGuWRkjqHH+H+7iqbo75vtVTSOd72HNSloF2+TMw9 HuunV1uoFXwd27mtfAc9LLqBrELPazzi5j/d0= 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=UXAqlRYIdwKpFI6Cg3O/otMMx5TiLPUqLzmA8ha7steWoIbGGLbhgVPPBxS5HO/hm7 H3/cLIt2+AF5hhUVGiSjxGgPWeaSTiVMV1uAIe2yWhowiPGNi12cWoGIIx0Ic0rPt+8J AcNasNrcc03d36Ukkb13aw7rVmzW0xDHDqHOxE4ZRQOvT7GbxencZZF3fXvKC7XPMdac HdLqLe7v1qdVFFwKuPfZGGFobMcbb16mYJ/jo8Viy9u15V1OxmuFeBUWaZVasupYK7jI aLohjMwk6wW4sBpeL3zan0Q2TwZMd0TlPxZAM5V+oCo9zJMjgjlUtXLyDyCIFqfqjIn3 CQeA== X-Gm-Message-State: AOAM530wR8AcIppxumfRJjoFqylW1QHU0rn6eF/MTvOTgYcBiM4s192x F3NBPNFkRm5IC2HyzLEaVnDdeu3G1IZE1w+SWF7ybmMKxsydw/V5s3RZWlEgbG7/QRETdqlhb6S u/vXu5YOWvk7iiIo9Y7U2L2Wzz7DiZPY9Kul5DSCUfUcM+h+4/7Oq+zL0wy67HWKyoV+OXnsZ X-Google-Smtp-Source: ABdhPJy73+RrmgSzVqD/TTyqStNV2zzmgJfi1P+UT+Aqv0L8ugj47hq9Nt8jPV4aoUgjwCElFUDSNmT0apFw X-Received: by 2002:a4a:e965:: with SMTP id i5mr13567050ooe.22.1643751354686; Tue, 01 Feb 2022 13:35:54 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id bh3sm4741242oib.7.2022.02.01.13.35.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Feb 2022 13:35:54 -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 EB6FB6052483; Tue, 1 Feb 2022 16:35:53 -0500 (EST) From: ohilyard@iol.unh.edu To: ci@dpdk.org, alialnu@nvidia.com Cc: Owen Hilyard Subject: [PATCH v3 3/4] pw_maintainers_cli: module doc comment moved Date: Tue, 1 Feb 2022 16:35:44 -0500 Message-Id: <20220201213544.15754-3-ohilyard@iol.unh.edu> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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