[PATCH v4 3/4] pw_maintainers_cli: move module doc comment
ohilyard at iol.unh.edu
ohilyard at iol.unh.edu
Mon Feb 7 15:19:42 CET 2022
From: Owen Hilyard <ohilyard at iol.unh.edu>
The import statements in the file have been moved below the module
doc comment per PEP 257.
Signed-off-by: Owen Hilyard <ohilyard at iol.unh.edu>
---
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
More information about the ci
mailing list