Every line fits the hundred columns it was configured for
`E501` across 69 lines, wrapped rather than exempted. The prose ones — module docstrings in `menu`, `node_detail_screen`, `pathline`, `pathgraph`, `walk_screen`, `trace_runner` and `test_about` — are reflowed as paragraphs, so the block keeps its shape instead of gaining one short orphan line. Nothing they say changed. The code ones mostly gained a line break inside a call. Where a break would have read worse than a name, the sub-expression got one instead: `reach` in `topology`'s quality clamp, `plain_cells` in `pathline`, `numbering` in the trace list, `listed` in `flash.py`'s refusal, and a small `shape`/`is_strip` helper in two tests that were comparing or matching the same shape twice on one line. Four docstring summaries lost a word they were not using. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
ca0023f5b7
commit
b5006cc415
39 files changed
+188
-81
No files matched your search
@@ -109,9 +109,10 @@ def check_drive_is_ours(drive, force=False):
|
||||
if "6." in softdev:
|
||||
problems.append(f"{softdev} expects the app at 0x26000; this build is linked for S140 v7")
|
||||
if problems and not force:
|
||||
listed = "\n - ".join(problems)
|
||||
sys.exit(
|
||||
"ERROR: refusing to flash {} --\n - {}\n"
|
||||
"Unplug the other board, or re-run with --force if you are sure.".format(drive, "\n - ".join(problems))
|
||||
f"ERROR: refusing to flash {drive} --\n - {listed}\n"
|
||||
"Unplug the other board, or re-run with --force if you are sure."
|
||||
)
|
||||
return True
|
||||
|
||||
|
||||
Reference in new issue
Block a user