mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:50:51 +01:00
[PR #1781] [MERGED] tests/docs: read an indented code block as code, not prose (OLD-9836) #1795
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1795
Loading…
Reference in a new issue
No description provided.
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/ubiquitarianism/leonida/pull/1781
Author: @Ch1mpleo
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @Andretuta
Base:
main← Head:carry/old-9836📝 Commits (1)
41639e8tests/docs: read an indented code block as code, not prose📊 Changes
1 file changed (+18 additions, -1 deletions)
View changed files
📝
tests/test_docs_repeated_lines.py(+18 -1)📄 Description
Claimed in the coordination issue as: OLD-9836 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7161825065)
What and why
Carries forward old-pr/9836 (draft #104, keeping
oosko21-a11y's original commit rebased onto current main). Fixes ests/test_docs_repeated_lines.py::repeated_lines to treat 4-space and tab-indented Markdown code blocks as code rather than prose, and adds est_checker_ignores_indented_code_blocks.
Tested
GPUs tested: n/a (CPU-only standard-library unit test)
AI-assisted: yes
Checklist
eeds rebase).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.