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

Add better formatting to warnings #264

Merged
merged 8 commits into from
Dec 14, 2024
Merged

Add better formatting to warnings #264

merged 8 commits into from
Dec 14, 2024

Conversation

coordt
Copy link
Member

@coordt coordt commented Dec 14, 2024

Warnings are output to stderr and use Rich formatting

- Changed `project.optional-dependencies` to `dependency-groups`
Replace plain click-based warnings with styled Rich panels for better visibility. This enhances user experience by providing clearer and more visually organized warnings.
@coordt coordt linked an issue Dec 14, 2024 that may be closed by this pull request
Copy link

Version hint: patch
Current version: 0.28.1
New version (when merged): 0.28.2

Comment ID: Display the version hint-auto-generated

Copy link

github-actions bot commented Dec 14, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-264/
on branch gh-pages at 2024-12-14 23:25 UTC

Copy link

codecov bot commented Dec 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.01%. Comparing base (4ecc07c) to head (183a6f2).
Report is 11 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #264      +/-   ##
==========================================
- Coverage   94.05%   94.01%   -0.04%     
==========================================
  Files          26       26              
  Lines        1716     1722       +6     
  Branches      232      294      +62     
==========================================
+ Hits         1614     1619       +5     
  Misses         75       75              
- Partials       27       28       +1     
Flag Coverage Δ
python-3.10 94.01% <100.00%> (-0.04%) ⬇️
python-3.11 94.01% <100.00%> (-0.04%) ⬇️
python-3.12 94.01% <100.00%> (?)
python-3.13 94.01% <100.00%> (?)
python-3.8 ?
python-3.9 94.01% <100.00%> (+0.04%) ⬆️

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
Copy link
Member Author

coordt commented Dec 14, 2024

pre-commit.ci autofix

@coordt coordt merged commit 13353bb into master Dec 14, 2024
16 of 17 checks passed
@coordt coordt deleted the 254-color-code-warnings branch December 14, 2024 23: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.

Warnings are hard to separate from desired output
1 participant