Revert "black: re-format"
This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372
diff --git a/bin/validate_plug_ins.py b/bin/validate_plug_ins.py
index fa12f66..78e65e5 100755
--- a/bin/validate_plug_ins.py
+++ b/bin/validate_plug_ins.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python3
-import os
-import sys
-
+from gen_print import *
from gen_arg import *
from gen_plug_in import *
-from gen_print import *
+
+import sys
+import os
try:
import __builtin__
@@ -31,32 +31,32 @@
# Create parser object.
parser = argparse.ArgumentParser(
- usage="%(prog)s [OPTIONS] [PLUG_IN_DIR_PATHS]",
+ usage='%(prog)s [OPTIONS] [PLUG_IN_DIR_PATHS]',
description="%(prog)s will validate the plug-in packages passed to it."
- + " It will also print a list of the absolute plug-in"
- + " directory paths for use by the calling program.",
+ + " It will also print a list of the absolute plug-in"
+ + " directory paths for use by the calling program.",
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- prefix_chars="-+",
-)
+ prefix_chars='-+')
# Create arguments.
parser.add_argument(
- "plug_in_dir_paths",
- nargs="?",
+ 'plug_in_dir_paths',
+ nargs='?',
default="",
- help=plug_in_dir_paths_help_text + default_string,
-)
+ help=plug_in_dir_paths_help_text + default_string)
parser.add_argument(
- "--mch_class", default="obmc", help=mch_class_help_text + default_string
-)
+ '--mch_class',
+ default="obmc",
+ help=mch_class_help_text + default_string)
# The stock_list will be passed to gen_get_options. We populate it with the names of stock parm options we
# want. These stock parms are pre-defined by gen_get_options.
stock_list = [("test_mode", 0), ("quiet", 1), ("debug", 0)]
-def exit_function(signal_number=0, frame=None):
+def exit_function(signal_number=0,
+ frame=None):
r"""
Execute whenever the program ends normally or with the signals that we catch (i.e. TERM, INT).
"""
@@ -114,9 +114,8 @@
global plug_in_dir_paths
global mch_class
- plug_in_packages_list = return_plug_in_packages_list(
- plug_in_dir_paths, mch_class
- )
+ plug_in_packages_list = return_plug_in_packages_list(plug_in_dir_paths,
+ mch_class)
qprint_var(plug_in_packages_list)
# As stated in the help text, this program must print the full paths of each selected plug in.