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"
+ ),
},
}