Commit f29247e
committed
lint: black + tclfmt fixes from CI
Two formatter-only fixes the GitHub Actions Lint workflows flagged on
PR #4231 ("lint" Python/black and "Tclint" Tcl/tclfmt jobs):
flow/util/genMetrics.py
Two `for metric in (...)` tuples were wrapped across two lines;
black 26.5 folds them onto a single line. No semantic change.
flow/scripts/synth_preamble.tcl
tclfmt 0.7.0 re-indents the `if { [catch { ... } _err] } { ... }`
block onto a multi-line `if {` form with 4-space body indentation;
the original used a 2-space body inside `[catch { ... }]`. No
semantic change.
Both files come from earlier commits on this branch:
3e57288 flow: drill down — non-determinism enters in
read_design_sources (introduced the genMetrics.py loops
and the synth_preamble.tcl catch
block)
Re-running the formatters locally produces no further diffs:
black --check flow/util/genMetrics.py -> 1 unchanged
tclfmt --check flow/scripts/synth_preamble.tcl -> clean
tclint flow/scripts/synth_preamble.tcl -> clean
Signed-off-by: Øyvind Harboe <oyvind@ascenium.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 03ed40d commit f29247e
2 files changed
Lines changed: 17 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | | - | |
52 | | - | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
| 288 | + | |
290 | 289 | | |
291 | 290 | | |
292 | 291 | | |
| |||
298 | 297 | | |
299 | 298 | | |
300 | 299 | | |
301 | | - | |
302 | | - | |
| 300 | + | |
303 | 301 | | |
304 | 302 | | |
305 | 303 | | |
| |||
0 commit comments