Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork295
refactor(Init): fix unbounded variable in _ask_tag_format#1529
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:v4-9-0-test
Are you sure you want to change the base?
refactor(Init): fix unbounded variable in _ask_tag_format#1529
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecovbot commentedJun 10, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## v4-9-0-test #1529 +/- ##============================================== Coverage ? 98.07% ============================================== Files ? 58 Lines ? 2700 Branches ? 0 ============================================== Hits ? 2648 Misses ? 52 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:
|
ac23401
to0d27725
Compare0d27725
toae143db
Compare
Uh oh!
There was an error while loading.Please reload this page.
Description
Before this change, the type of
tag_format
isAny | Unbounded | str
at the end of the function. Actuallytag_format
is defined for all code paths.is_correct_format
isTrue
, thentag_format
is assigned"v$version"
and the function returns it.is_correct_format
isFalse
, thentag_format
is initialized in the if-block.The function logic should be easier to understand after this change.
Checklist