Commit f2ac694
committed
CI: fix E701 lint errors in niagara.py pin connect/disconnect wrappers
Split nine one-liner "if X is not None: params[K] = X" guards across
connect_niagara_pins and disconnect_niagara_pins into proper two-line
blocks. Ruff's default E701 (multiple statements on one line) was
failing the Python Lint job on 3.10 / 3.11 / 3.12 — the pre-existing
style in the rest of niagara.py already uses the split form, so this
just brings these two tools in line.1 parent 19afd84 commit f2ac694
1 file changed
Lines changed: 18 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2600 | 2600 | | |
2601 | 2601 | | |
2602 | 2602 | | |
2603 | | - | |
2604 | | - | |
2605 | | - | |
2606 | | - | |
2607 | | - | |
2608 | | - | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
2609 | 2615 | | |
2610 | 2616 | | |
2611 | 2617 | | |
| |||
2624 | 2630 | | |
2625 | 2631 | | |
2626 | 2632 | | |
2627 | | - | |
2628 | | - | |
2629 | | - | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
2630 | 2639 | | |
0 commit comments