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: I8b1542d2681ef3985455920fa939a6ea2482be22
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/extensions/openpower-pels/registry/tools/process_registry.py b/extensions/openpower-pels/registry/tools/process_registry.py
index 229f551..c6a86f8 100755
--- a/extensions/openpower-pels/registry/tools/process_registry.py
+++ b/extensions/openpower-pels/registry/tools/process_registry.py
@@ -58,7 +58,6 @@
"""
for entry in registry_json["PELs"]:
-
# Don't check on "11" SRCs as those reason codes aren't supposed to
# match the component ID.
if entry["SRC"].get("Type", "") == "11":
@@ -124,7 +123,6 @@
registry_json = json.load(registry_handle)
if schema:
-
import jsonschema
with open(schema) as schema_handle:
@@ -146,7 +144,6 @@
if __name__ == "__main__":
-
parser = argparse.ArgumentParser(
description="PEL message registry processor"
)
@@ -177,7 +174,7 @@
"--skip-schema-validation",
action="store_true",
dest="skip_schema",
- help="Skip running schema validation. " "Only do the extra checks.",
+ help="Skip running schema validation. Only do the extra checks.",
)
args = parser.parse_args()