release 0.4.0: label inset, spacing parameter, pinned lint - #11
Merged
Conversation
Bump `version` to 0.4.0 and close the `[Unreleased]` section. Minor rather than patch: `spacing` is a new parameter, and the label inset changes rendering for anyone using `connect_leader_to_label`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Bumps
versionto 0.4.0 and closes the[Unreleased]section as[0.4.0] - 2026-08-20.Minor rather than patch under SemVer's pre-1.0 reading:
spacingis a new parameter, andthe label inset changes rendering for anyone using
connect_leader_to_label.Contents of the release, from
[Unreleased]:spacing(default0), the gap between the tree and chart panels(inset strain labels from the chart edge and add a spacing parameter #9).
connect_leader_to_labelis on; the gap ismax(3, strain_label_font_size * 0.2)pxand the leaders stop where the text begins (inset strain labels from the chart edge and add a spacing parameter #9).
ruffpinned to>=0.16,<0.17with the lint rules stated explicitly(pin ruff and state the lint rules explicitly #10). Development-only.
No code changes here beyond the version bump and the CHANGELOG heading.
After merge: tag
v0.4.0onmainand push it.release.ymlverifies the tag matchespyproject.toml, builds the sdist + wheel, and publishes to PyPI via trusted publishing.The
pypienvironment requires a reviewer, so the publish job will wait for approval.🤖 Generated with Claude Code