Skip to content

Commit 7030394

Browse files
committed
Fixing some linting issues for run_lvs script
Signed-off-by: FaragElsayed2 <[email protected]>
1 parent 588cafa commit 7030394

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.flake8

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
; ==========================================================================
1717

1818
[flake8]
19-
max-line-length = 100
19+
max-line-length = 120
2020
max-complexity = 18
2121

2222
exclude =

ihp-sg13g2/libs.tech/klayout/tech/lvs/run_lvs.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
--help -h Displays this help message.
3030
--layout=<layout_path> Specifies the file path of the input GDS file.
3131
--netlist=<netlist_path> Specifies the file path of the input netlist file.
32-
--run_dir=<run_dir_path> Run directory to save all the generated results [default: pwd]
32+
--run_dir=<run_dir_path> Run directory to save all generated results [default: pwd]
3333
--topcell=<topcell_name> Specifies the name of the top cell to be used.
34-
--run_mode=<run_mode> Selects the allowed KLayout mode. (flat, deep). [default: flat]
34+
--run_mode=<run_mode> Selects allowed KLayout mode. (flat, deep). [default: flat]
3535
--lvs_sub=<sub_name> Sets the substrate name used in your design.
3636
--no_net_names Omits net names in the extracted netlist.
3737
--spice_comments Includes netlist comments in the extracted netlist.
3838
--net_only Generates netlist objects only in the extracted netlist.
39-
--no_simplify Disables simplification for both layout and schematic netlists.
40-
--no_series_res Prevents the simplification of series resistors for both layout and schematic netlists.
41-
--no_parallel_res Prevents the simplification of parallel resistors for both layout and schematic netlists.
39+
--no_simplify Disables simplification for both layout and schematic.
40+
--no_series_res Prevents simplification of series resistors for both layout and schematic.
41+
--no_parallel_res Prevents simplification of parallel resistors for both layout and schematic.
4242
--combine_devices Enables device combination for both layout and schematic netlists.
4343
--top_lvl_pins Creates pins for top-level circuits in both layout and schematic netlists.
4444
--purge Removes unused nets from both layout and schematic netlists.
@@ -216,7 +216,7 @@ def generate_klayout_switches(arguments, layout_path, netlist_path):
216216
}
217217

218218
return switches
219-
219+
220220

221221
def build_switches_string(sws: dict):
222222
"""

0 commit comments

Comments
 (0)