• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tired-labs / tiredize / 20051598249
99%

Build:
DEFAULT BRANCH: main
Ran 09 Dec 2025 04:08AM UTC
Jobs 1
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Dec 2025 04:08AM UTC coverage: 98.832% (+4.2%) from 94.643%
20051598249

push

github

web-flow
Major refactor. MD Type functionality now self-contained in classes (#1)

This PR represents a major architectural refactor that transforms the markdown parser from a monolithic parser-based approach to a more modular, object-oriented design where each Markdown type is self-contained in its own class with extraction and sanitization methods.

Key Changes
- Replaced the centralized Parser class (532 lines) with self-contained type classes, each responsible for extracting and sanitizing their own markdown elements
- Introduced a new Position dataclass to replace the previous start/end tuple-based position tracking, now including line, offset, and length
- Restructured from markdown/models/ to markdown/types/ with each type (Table, QuoteBlock, Link, etc.) having static extract() and sanitize() methods
- Added comprehensive test coverage for individual markdown types (codeblocks, headers, images, tables, quoteblocks, frontmatter, etc.)

Reviewed changes
- Copilot reviewed 35 out of 39 changed files in this pull request and generated 13 comments.

927 of 938 new or added lines in 22 files covered. (98.83%)

931 of 942 relevant lines covered (98.83%)

1.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
89.66
tiredize/markdown/types/frontmatter.py
2
96.92
tiredize/markdown/types/reference.py
1
0.0
0.0% tiredize/cli.py
1
96.15
tiredize/markdown/types/header.py
1
98.68
tiredize/markdown/types/link.py
1
93.33
tiredize/markdown/types/list.py
1
98.61
tiredize/markdown/types/section.py
1
97.83
tiredize/markdown/types/table.py
Jobs
ID Job ID Ran Files Coverage
1 20051598249.1 09 Dec 2025 04:08AM UTC 50
98.83
GitHub Action Run
Source Files on build 20051598249
  • Tree
  • List 25
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20051598249
  • 033aaaf6 on github
  • Prev Build on regex_fix (#19917981615)
  • Next Build on main (#20121830403)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc