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
@@ -313,8 +313,9 @@ def test_a_shared_relay_draws_a_single_marker() -> None:
|
||||
|
||||
|
||||
def _marker_rows(lines, glyph): # noqa: ANN001, ANN202
|
||||
"""The distinct canvas row indices a marker glyph is drawn on (endpoints ``★``, relays ``●``)."""
|
||||
return sorted({i for i, ln in enumerate(_ANSI.sub("", "\n".join(lines)).splitlines()) if glyph in ln})
|
||||
"""The distinct canvas rows a marker glyph is drawn on (endpoints ``★``, relays ``●``)."""
|
||||
plain = _ANSI.sub("", "\n".join(lines)).splitlines()
|
||||
return sorted({i for i, ln in enumerate(plain) if glyph in ln})
|
||||
|
||||
|
||||
def test_even_lane_count_centres_the_endpoints() -> None:
|
||||
|
||||
Reference in new issue
Block a user