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: Ieb4226b161326404ccd8c14abfef5ea5bc442fba
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/configs/Barreleye.py b/configs/Barreleye.py
index 828236c..09b044e 100644
--- a/configs/Barreleye.py
+++ b/configs/Barreleye.py
@@ -593,12 +593,15 @@
         0x32: "/org/openbmc/sensors/host/OperatingSystemStatus",
     },
     "GPIO_PRESENT": {
-        "SLOT0_RISER_PRESENT":
-            "<inventory_root>/system/chassis/io_board/pcie_slot0_riser",
-        "SLOT1_RISER_PRESENT":
-            "<inventory_root>/system/chassis/io_board/pcie_slot1_riser",
-        "SLOT2_RISER_PRESENT":
-            "<inventory_root>/system/chassis/io_board/pcie_slot2_riser",
+        "SLOT0_RISER_PRESENT": (
+            "<inventory_root>/system/chassis/io_board/pcie_slot0_riser"
+        ),
+        "SLOT1_RISER_PRESENT": (
+            "<inventory_root>/system/chassis/io_board/pcie_slot1_riser"
+        ),
+        "SLOT2_RISER_PRESENT": (
+            "<inventory_root>/system/chassis/io_board/pcie_slot2_riser"
+        ),
         "SLOT0_PRESENT": "<inventory_root>/system/chassis/io_board/pcie_slot0",
         "SLOT1_PRESENT": "<inventory_root>/system/chassis/io_board/pcie_slot1",
         "SLOT2_PRESENT": "<inventory_root>/system/chassis/io_board/pcie_slot2",
diff --git a/configs/Palmetto.py b/configs/Palmetto.py
index 769bf5a..60eda3a 100644
--- a/configs/Palmetto.py
+++ b/configs/Palmetto.py
@@ -78,10 +78,12 @@
         0x32: "/org/openbmc/sensors/host/OperatingSystemStatus",
     },
     "GPIO_PRESENT": {
-        "SLOT0_PRESENT":
-            "<inventory_root>/system/chassis/motherboard/pciecard_x16",
-        "SLOT1_PRESENT":
-            "<inventory_root>/system/chassis/motherboard/pciecard_x8",
+        "SLOT0_PRESENT": (
+            "<inventory_root>/system/chassis/motherboard/pciecard_x16"
+        ),
+        "SLOT1_PRESENT": (
+            "<inventory_root>/system/chassis/motherboard/pciecard_x8"
+        ),
     },
 }
 
diff --git a/pychassisctl/chassis_control.py b/pychassisctl/chassis_control.py
index b5528c8..efe7227 100644
--- a/pychassisctl/chassis_control.py
+++ b/pychassisctl/chassis_control.py
@@ -5,10 +5,11 @@
     import gobject
 except ImportError:  # python 3
     from gi.repository import GObject as gobject
+
 import dbus
-import dbus.service
 import dbus.mainloop.glib
-from obmc.dbuslib.bindings import get_dbus, DbusProperties, DbusObjectManager
+import dbus.service
+from obmc.dbuslib.bindings import DbusObjectManager, DbusProperties, get_dbus
 
 DBUS_NAME = "org.openbmc.control.Chassis"
 OBJ_NAME = "/org/openbmc/control/chassis0"
diff --git a/pydownloadmgr/download_manager.py b/pydownloadmgr/download_manager.py
index 799044c..5cedbed 100644
--- a/pydownloadmgr/download_manager.py
+++ b/pydownloadmgr/download_manager.py
@@ -7,12 +7,13 @@
     import gobject
 except ImportError:  # python 3
     from gi.repository import GObject as gobject
-import dbus
-import dbus.service
-import dbus.mainloop.glib
-import subprocess
-from obmc.dbuslib.bindings import get_dbus
 
+import subprocess
+
+import dbus
+import dbus.mainloop.glib
+import dbus.service
+from obmc.dbuslib.bindings import get_dbus
 
 FLASH_DOWNLOAD_PATH = "/tmp"
 DBUS_NAME = "org.openbmc.managers.Download"
diff --git a/pystatemgr/discover_system_state.py b/pystatemgr/discover_system_state.py
index 8c39e8b..bff45ee 100644
--- a/pystatemgr/discover_system_state.py
+++ b/pystatemgr/discover_system_state.py
@@ -2,7 +2,6 @@
 
 import dbus
 
-
 dbus_objects = {
     "power": {
         "bus_name": "org.openbmc.control.Power",
diff --git a/pysystemmgr/obmc/system/__init__.py b/pysystemmgr/obmc/system/__init__.py
index 2d5b752..f7ea961 100644
--- a/pysystemmgr/obmc/system/__init__.py
+++ b/pysystemmgr/obmc/system/__init__.py
@@ -1,5 +1,5 @@
-from os.path import join
 from glob import glob
+from os.path import join
 
 
 def find_gpio_base(path="/sys/class/gpio/"):