python: fix flake8 warnings

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If040c21bb65b613d75574d3154daa35c88c43f76
diff --git a/scripts/autojson.py b/scripts/autojson.py
index 9776196..e4113dc 100755
--- a/scripts/autojson.py
+++ b/scripts/autojson.py
@@ -15,7 +15,7 @@
             files.append(os.path.join(file, f))
 
 for file in files:
-    if not file.endswith('.json'):
+    if not file.endswith(".json"):
         continue
     print("formatting file {}".format(file))
     with open(file) as f:
@@ -27,6 +27,8 @@
     else:
         j["Exposes"] = sorted(j["Exposes"], key=lambda k: k["Type"])
 
-    with open(file, 'w') as f:
-        f.write(json.dumps(j, indent=4, sort_keys=True, separators=(',', ': ')))
-        f.write('\n')
+    with open(file, "w") as f:
+        f.write(
+            json.dumps(j, indent=4, sort_keys=True, separators=(",", ": "))
+        )
+        f.write("\n")