Skip to content

Commit acbbb26

Browse files
committed
Fix marginalia lint and cache manifest
1 parent e5f680c commit acbbb26

4 files changed

Lines changed: 8 additions & 26 deletions

File tree

scripts/build_marginalia.py

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,7 @@
1414
sys.path.insert(0, str(ROOT / "src"))
1515

1616
from marginalia_grammar import ( # noqa: E402 (sys.path set above)
17-
BASELINE,
1817
CELL,
19-
EMPHASIS,
20-
GAP_L,
21-
GAP_S,
22-
INK,
23-
INK_SOFT,
24-
NAME_H,
25-
NAME_W,
26-
OBJECT_H,
27-
OBJECT_W,
28-
SOFT_FILL,
29-
TICK_LEN,
3018
Canvas,
3119
Card,
3220
)
@@ -655,14 +643,18 @@ def e_exception_groups(c: Canvas) -> None:
655643
c.dot(60, 32)
656644
for x in (30, 50, 70, 90):
657645
c.ghost(60, 38, x, 60)
658-
c.dot(30, 64); c.dot(50, 64, emphasis=True); c.dot(70, 64); c.dot(90, 64, emphasis=True)
646+
c.dot(30, 64)
647+
c.dot(50, 64, emphasis=True)
648+
c.dot(70, 64)
649+
c.dot(90, 64, emphasis=True)
659650
c.closed_arrow(120, 50, 180, 50)
660651
c.label(150, 44, "except*", anchor="middle")
661652
c.tag(240, 16, "after", anchor="middle")
662653
c.dot(240, 32)
663654
c.ghost(240, 38, 220, 60)
664655
c.ghost(240, 38, 260, 60)
665-
c.dot(220, 64); c.dot(260, 64)
656+
c.dot(220, 64)
657+
c.dot(260, 64)
666658

667659

668660
def e_modules(c: Canvas) -> None:

scripts/build_prototypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
get_example,
2323
render_inline,
2424
)
25-
from marginalia import _render_svg
25+
from marginalia import _render_svg # noqa: E402
2626

2727
OUT_DIR = ROOT / "public" / "prototyping"
2828

src/asset_manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Generated by scripts/fingerprint_assets.py. Do not edit by hand.
22
ASSET_PATHS = {'SITE_CSS': '/site.150df025a28b.css', 'SYNTAX_JS': '/syntax-highlight.3b6c7f730d46.js', 'EDITOR_JS': '/editor.dd81f5171b14.js'}
3-
HTML_CACHE_VERSION = '0b8d3c425130'
3+
HTML_CACHE_VERSION = '4802a471509c'

src/marginalia.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -501,16 +501,6 @@ def workers_protocol_local(c: Canvas) -> None:
501501
c.cell(0, 84, "200 OK · { … }", w=140, h=22)
502502

503503

504-
def workers_lesson_runtime(c: Canvas) -> None:
505-
"""Workers · lesson and runtime meet at a boundary; evidence carries across."""
506-
c.frame(0, 4, 80, 36, label="lesson")
507-
c.mono(40, 26, "shape")
508-
c.frame(120, 4, 80, 36, label="runtime")
509-
c.mono(160, 26, "limits")
510-
c.closed_arrow(80, 22, 120, 22, emphasis=True)
511-
c.label(100, 22, "value", anchor="middle")
512-
513-
514504
# ─── Examples promoted from the gestalt: new paint code ──────────────
515505

516506

0 commit comments

Comments
 (0)