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 error formatting #204

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Fix error formatting #204

merged 3 commits into from
Jun 26, 2024

Conversation

coordt
Copy link
Member

@coordt coordt commented Jun 26, 2024

No description provided.

This commit includes a new test in test_scm.py to verify the correct formatting and raising of subprocess errors in the SCM module. Additionally, the subprocess error handling has been refactored in the SCM module to include a new method, format_and_raise_error, for improved code readability and reusability.
Copy link

Version hint: patch
Current version: 0.24.0
New version (when merged): 0.24.1

Comment ID: Display the version hint-auto-generated

Copy link

github-actions bot commented Jun 26, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-204/
on branch gh-pages at 2024-06-26 16:26 UTC

Copy link

codecov bot commented Jun 26, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.80%. Comparing base (cb050a8) to head (48df43e).
Report is 4 commits behind head on master.

Current head 48df43e differs from pull request most recent head 86c0206

Please upload reports for the commit 86c0206 to get more accurate results.

Files Patch % Lines
bumpversion/scm.py 77.77% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
- Coverage   93.89%   93.80%   -0.10%     
==========================================
  Files          25       25              
  Lines        1557     1566       +9     
  Branches      309      312       +3     
==========================================
+ Hits         1462     1469       +7     
- Misses         69       70       +1     
- Partials       26       27       +1     
Flag Coverage Δ
python-3.10 93.80% <77.77%> (-0.10%) ⬇️
python-3.11 93.80% <77.77%> (-0.10%) ⬇️
python-3.8 93.77% <77.77%> (-0.10%) ⬇️
python-3.9 93.77% <77.77%> (-0.10%) ⬇️

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 7f8159f into master Jun 26, 2024
11 of 13 checks passed
@coordt coordt deleted the fix-error-format branch June 26, 2024 16:29
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.

1 participant