-
-
Notifications
You must be signed in to change notification settings - Fork 289
fix(CommitizenProvider): raise if version is None #1552
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v4-9-0-test #1552 +/- ##
==============================================
Coverage ? 97.98%
==============================================
Files ? 58
Lines ? 2686
Branches ? 0
==============================================
Hits ? 2632
Misses ? 54
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
commitizen/commands/version.py
Outdated
out.write(f"{__version__}") | ||
return | ||
|
||
out.write(("Project Version: " if verbose else "") + version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
out.write(("Project Version: " if verbose else "") + version) | |
out.write(f"Project Version: {version}" if verbose else version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
…l sites of get_version
Description
Checklist
Code Changes
poetry all
locally to ensure this change passes linter check and tests