Skip to content

Commit 779ce87

Browse files
committed
black format platforms/ihp-sg13cmos5l/lvs/run_lvs.py
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
1 parent dcbc2ff commit 779ce87

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

flow/platforms/ihp-sg13cmos5l/lvs/run_lvs.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ def check_klayout_version():
7878
logging.error("Was not able to get klayout version properly.")
7979
exit(1)
8080
elif len(klayout_v_list) >= 2 or len(klayout_v_list) <= 3:
81-
if klayout_v_list[1] < 30 or (klayout_v_list[1] == 30 and klayout_v_list[2] < 2):
81+
if klayout_v_list[1] < 30 or (
82+
klayout_v_list[1] == 30 and klayout_v_list[2] < 2
83+
):
8284
logging.error("Prerequisites at a minimum: KLayout 0.30.2")
8385
logging.error(
8486
"Using this klayout version has not been assessed. Limits are unknown"
@@ -216,7 +218,9 @@ def generate_klayout_switches(arguments, layout_path, netlist_path):
216218
"topcell": get_run_top_cell_name(arguments, layout_path),
217219
"input": os.path.abspath(layout_path),
218220
"schematic": os.path.abspath(netlist_path),
219-
"allow_unmatched_ports": "true" if arguments.get("--allow_unmatched_ports") else "false",
221+
"allow_unmatched_ports": (
222+
"true" if arguments.get("--allow_unmatched_ports") else "false"
223+
),
220224
}
221225

222226
return switches

0 commit comments

Comments
 (0)