black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.
Change-Id: If1010ead857d41364c024bf8145a979a9377d382
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/templates/python_pgm_template b/templates/python_pgm_template
index fcd0c6f..e2ded37 100644
--- a/templates/python_pgm_template
+++ b/templates/python_pgm_template
@@ -1,19 +1,17 @@
#!/usr/bin/env python3
-from gen_print import *
from gen_arg import *
+from gen_print import *
from gen_valid import *
parser = argparse.ArgumentParser(
- usage='%(prog)s [OPTIONS]',
+ usage="%(prog)s [OPTIONS]",
description="%(prog)s will...",
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- prefix_chars='-+')
+ prefix_chars="-+",
+)
-parser.add_argument(
- '--whatever',
- default='',
- help='bla, bla.')
+parser.add_argument("--whatever", default="", help="bla, bla.")
# Populate stock_list with options we want.
stock_list = [("test_mode", 0), ("quiet", 0), ("debug", 0)]
@@ -42,7 +40,6 @@
def main():
-
gen_setup()
# Your code here.