Pep8 fix for generate inventory script

Resolves openbmc/openbmc-test-automation#1138

Change-Id: Ie002890ec36947d9e44e331a78bfac56ffcb09b3
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/bin/generate_inventory b/bin/generate_inventory
index 4ce8593..f17025b 100755
--- a/bin/generate_inventory
+++ b/bin/generate_inventory
@@ -29,28 +29,25 @@
 base_dir_path = os.getcwd() + repo_subdir_path
 
 # yaml file paths for FRU
-yaml_fru_list = [ 'Inventory/Item.interface.yaml',
-                  'Inventory/Decorator/Asset.interface.yaml',
-                  'Inventory/Decorator/Revision.interface.yaml',
-                  'Inventory/Decorator/Replaceable.interface.yaml',
-                  'Inventory/Decorator/Cacheable.interface.yaml',
-                  'State/Decorator/OperationalStatus.interface.yaml',
-                 ]
+yaml_fru_list = ['Inventory/Item.interface.yaml',
+                 'Inventory/Decorator/Asset.interface.yaml',
+                 'Inventory/Decorator/Revision.interface.yaml',
+                 'Inventory/Decorator/Replaceable.interface.yaml',
+                 'Inventory/Decorator/Cacheable.interface.yaml',
+                 'State/Decorator/OperationalStatus.interface.yaml', ]
 
-# yaml file paths for CORE
-yaml_core_list = [ 'Inventory/Item.interface.yaml',
-                   'State/Decorator/OperationalStatus.interface.yaml',
-                 ]
+# yaml file paths for CORE.
+
+yaml_core_list = ['Inventory/Item.interface.yaml',
+                  'State/Decorator/OperationalStatus.interface.yaml', ]
 
 # yaml file paths for fan.
-yaml_fan_list = [ 'Inventory/Item.interface.yaml',
-                  'Inventory/Decorator/MeetsMinimumShipLevel.interface.yaml',
-                  'State/Decorator/OperationalStatus.interface.yaml',
-                ]
+yaml_fan_list = ['Inventory/Item.interface.yaml',
+                 'Inventory/Decorator/MeetsMinimumShipLevel.interface.yaml',
+                 'State/Decorator/OperationalStatus.interface.yaml', ]
 # yaml file paths for GPU.
-yaml_gpu_list = [ 'Inventory/Item.interface.yaml',
-                   'State/Decorator/OperationalStatus.interface.yaml',
-                ]
+yaml_gpu_list = ['Inventory/Item.interface.yaml',
+                 'State/Decorator/OperationalStatus.interface.yaml', ]
 # Append to master list
 yaml_master_list.append(yaml_fru_list)
 yaml_master_list.append(yaml_core_list)
diff --git a/data/inventory.py b/data/inventory.py
index 84a1fa5..a3def69 100644
--- a/data/inventory.py
+++ b/data/inventory.py
@@ -1,16 +1,16 @@
 inventory_dict = {
-    "core":[
+    "core": [
         "PrettyName",
         "Present",
         "Functional"
     ],
-    "fan":[
+    "fan": [
         "PrettyName",
         "Present",
         "MeetsMinimumShipLevel",
         "Functional"
     ],
-    "fru":[
+    "fru": [
         "PrettyName",
         "Present",
         "PartNumber",
@@ -23,7 +23,7 @@
         "Cached",
         "Functional"
     ],
-    "gpu":[
+    "gpu": [
         "PrettyName",
         "Present",
         "Functional"