mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-16 23:24:55 -05:00
[PR #1637] [MERGED] fix(book): drop non-English TikZ comment that fails codespell #11820
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1637
Author: @profvjreddi
Created: 5/3/2026
Status: ✅ Merged
Merged: 5/3/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/book-tikz-codespell-leve📝 Commits (1)
139ad89fix(book): drop non-English TikZ comment that fails codespell📊 Changes
1 file changed (+17 additions, -21 deletions)
View changed files
📝
book/quarto/contents/vol1/nn_computation/nn_computation.qmd(+17 -21)📄 Description
Summary
Codespell on dev started failing after #1636 was merged. Single typo flagged at
book/quarto/contents/vol1/nn_computation/nn_computation.qmd:967:The trailing
%pre plave leve plociceis a Croatian inline comment in the TikZ source for fig 5.8. Codespell flagsleveas a typo forlevel/levee. The%prefix means TikZ ignores it, so removing the comment has zero rendering impact.Why not add to ignore list
levecould be a real English typo elsewhere in the corpus later. Surgical removal is cleaner than weakening the dictionary.Diff
coordinate(PL1)Test plan
codespell --toml pyproject.toml book/quarto/contents/vol1/nn_computation/nn_computation.qmdexits 0%comment)Note on figure-placement warnings
The
book-check-figure-placementpre-commit hook also flags 4 pre-existingearly_floatwarnings in #1636's content (fig-trends,fig-channel-layer-pruning,fig-iterative-pruning,fig-quantization-error-dist). Those are out of scope for this PR; tracking separately.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.