Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Return SCM information in show command #291

Merged
merged 2 commits into from
Feb 1, 2025

Conversation

coordt
Copy link
Member

@coordt coordt commented Feb 1, 2025

No description provided.

Ensure SCMInfo objects can be serialized into YAML and JSON formats, improving compatibility with configuration and output displays. Updated dumper functions and tests to reflect the new changes and include SCMInfo details in the configurations.
@coordt coordt linked an issue Feb 1, 2025 that may be closed by this pull request
Copy link

github-actions bot commented Feb 1, 2025

Version hint: minor
Current version: 0.30.2
New version (when merged): 0.31.0

Comment ID: Display the version hint-auto-generated

Copy link

github-actions bot commented Feb 1, 2025

PR Preview Action v1.6.0

🚀 View preview at
https://callowayproject.github.io/bump-my-version/pr-preview/pr-291/

Built to branch gh-pages at 2025-02-01 15:45 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link

codecov bot commented Feb 1, 2025

Codecov Report

Attention: Patch coverage is 90.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 93.52%. Comparing base (660244a) to head (e8611b2).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
bumpversion/scm/hg.py 50.00% 2 Missing ⚠️
bumpversion/scm/git.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #291      +/-   ##
==========================================
+ Coverage   93.43%   93.52%   +0.08%     
==========================================
  Files          28       28              
  Lines        1829     1854      +25     
  Branches      195      196       +1     
==========================================
+ Hits         1709     1734      +25     
+ Misses         93       90       -3     
- Partials       27       30       +3     
Flag Coverage Δ
python-3.10 93.52% <90.00%> (+0.08%) ⬆️
python-3.11 93.52% <90.00%> (+0.08%) ⬆️
python-3.12 93.52% <90.00%> (+0.08%) ⬆️
python-3.13 93.52% <90.00%> (+0.08%) ⬆️
python-3.9 93.52% <90.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coordt coordt merged commit c2b11b4 into master Feb 1, 2025
16 of 17 checks passed
@coordt coordt deleted the 287-return-scm-info-to-show branch February 1, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

show command with scm_info.distance_to_latest_tag problem
1 participant