Repository navigation
Conversation
- Packaging: setup.py/requirements.txt -> PEP 621 pyproject.toml; version from git tags via setuptools-scm; README as PyPI long description; requires-python >=3.10, Markdown >=3.2; uv.lock - Tooling: flake8 -> ruff (lint + format) in CI and the Claude hook; CI and publish use astral-sh/setup-uv; dependabot pip -> uv - Code: drop py2-isms, add type hints, fix "syombol" typo (no behavior change) - Tests: test.py -> tests/ with parametrized pytest; CI also tests the lowest supported Markdown (3.2 on Python 3.10) - Update CLAUDE.md and /release skill (no version bump step) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012pKTVb5TrGn27R29rHHNck
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012pKTVb5TrGn27R29rHHNck
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
No user-visible behavior changes; the behavior-changing fixes come in a separate PR.
setup.py+requirements.txt→ PEP 621pyproject.tomlrequires-python >=3.10,Markdown>=3.2(3.0/3.1 can't import on modern Python: they needpkg_resources)uv.lock+devdependency group (pytest,ruff)E,F,W,I,UP,B+ format); CI and publish useastral-sh/setup-uv; Dependabotpip→uv; Claude hook now runs ruff format + checkfrom __future__,super(Cls, self),.format), add type hints, fixsyomboltypo in the config descriptiontest.py→tests/test_condition.py(parametrized pytest, same cases), plus a test that the extension loads by name ("md_condition", the MkDocs path); CI adds a lowest-Markdown job (3.2 on py3.10)/releaseupdatedci-okstill aggregates everything, so the ruleset needs no change.Test plan
uv run pytest7 passed (latest Markdown and Markdown 3.2 on py3.10),ruff check/ruff format --checkclean,uv buildproduces sdist + wheel🤖 Generated with Claude Code
https://claude.ai/code/session_012pKTVb5TrGn27R29rHHNck