fix: unblock PyPI release — format markdown for ruff 0.16, pin ruff, bump to 0.0.5 - #73
Merged
Merged
Conversation
Newer ruff (installed unpinned in the publish workflow) formats Python code blocks embedded in Markdown; three docs files failed the release format check for v0.0.4, blocking the PyPI publish. Formats those blocks, pins ruff to >=0.16.1,<0.17 so local and CI resolve the same formatter, and bumps to 0.0.5 for a clean release tag.
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
ruff format --check .: the workflow installs ruff unpinned, and ruff ≥0.16 now formats Python code blocks embedded in Markdown — three docs files (README.md,clgraph-simple-diagram.md,examples/sql_files/README.md) predated that behavior. No publish occurred (PyPI still at 0.0.3).ruff>=0.16.1,<0.17in dev dependencies so local and CI resolve the same formatter (root cause of the drift)v0.0.4points at a commit that cannot pass its own workflow)Test plan
uv run ruff format --check .clean with the pinned ruff (matches the workflow's exact command)ruff checkclean; pre-commit hooks passed (ty diagnostics are pre-existing and non-blocking)v0.0.5on main → publish workflow runs matrix + publishes 0.0.5Unblocks the clgraph-studio Vercel deploy (drops its git pin once 0.0.5 is on PyPI).