Repository navigation
Commit c2c6abb
committed
fix: address second-pass gemini-code-assist nits on #4234
Three follow-ups from gemini's second review pass:
* Restore the original positional argument order
(template_lyt, output_lyt, lef_files, reference_dir, map_files,
use_relative_paths) so Python callers that pass the args
positionally still work. Prior fix reshuffled `map_files` ahead
of `reference_dir`, breaking positional compatibility.
* Re-order the Args block in the docstring to match the new
signature order.
* `map_files` is now `None`-defaulted (to keep the positional-order
fix above), so iterate via `map_files or []` rather than dereferencing
`None` directly.
Signed-off-by: Øyvind Harboe <oyvind@ascenium.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 6a321fa commit c2c6abb
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments