Files
Paul Hernandez 5b4f0eafcc Pre release fixups (#5)
* configure logging

* set mcp output logging also

* fix type check errors

* fix type check

* rename Permalink schema type

* fix type errors

* add typechecks to ci workflow

* pytest coverage setup

* add tests for status cli

* sync tests coverage

* watch_service test coverage

* tests for tool_utils.py

* clean up imports

* file_utils coverage

* markdown plugins coverage

* 99% test coverage

* more test coverage, remove ObservationCategory

* more tool coverage

* fix type-check

* format, upgrade deps

---------

Co-authored-by: phernandez <phernandez@basicmachines.co>
2025-02-12 08:23:10 -06:00

18 lines
401 B
Python

"""Test how markdown-it handles task lists."""
from markdown_it import MarkdownIt
def test_task_token_type():
"""Verify how markdown-it parses task list items."""
md = MarkdownIt()
content = """
- [ ] Unchecked task
- [x] Completed task
- [-] In progress task
"""
tokens = md.parse(content)
for token in tokens:
print(f"{token.type}: {token.content}")