Skip to content

refactor(init): remote extra words #1568

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

Merged
merged 12 commits into from
Aug 6, 2025

Conversation

timsu92
Copy link
Contributor

@timsu92 timsu92 commented Aug 6, 2025

Description

Originally, there are extra words showing in the terminal. This PR removes that.

Checklist

Code Changes

  • Add test cases to all the changes you introduce
  • Run poetry all locally to ensure this change passes linter check and tests
  • Manually test the changes:
    • Verify the feature/bug fix works as expected in real-world scenarios
    • Test edge cases and error conditions
    • Ensure backward compatibility is maintained
    • Document any manual testing steps performed
  • Update the documentation for the changes

Documentation Changes

  • Run poetry doc locally to ensure the documentation pages renders correctly
  • Check and fix any broken links (internal or external) in the documentation

When running poetry doc, any broken internal documentation links will be reported in the console output like this:

INFO    -  Doc file 'config.md' contains a link 'commands/bump.md#-post_bump_hooks', but the doc 'commands/bump.md' does not contain an anchor '#-post_bump_hooks'.

Expected Behavior

Won't see the extra "Get and" text when running cz init

Steps to Test This Pull Request

  1. cz init
  2. In the question "Choose the source of the version", see uv's description is corrected

Additional Context

image

Copy link

codecov bot commented Aug 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v4-9-0-test@6b4f8b0). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff               @@
##             v4-9-0-test    #1568   +/-   ##
==============================================
  Coverage               ?   97.96%           
==============================================
  Files                  ?       58           
  Lines                  ?     2703           
  Branches               ?        0           
==============================================
  Hits                   ?     2648           
  Misses                 ?       55           
  Partials               ?        0           
Flag Coverage Δ
unittests 97.96% <100.00%> (?)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timsu92 timsu92 force-pushed the fix/description_in_init branch from a625674 to 54bfd3d Compare August 6, 2025 11:34
@Lee-W Lee-W changed the base branch from master to v4-9-0-test August 6, 2025 13:17
@Lee-W Lee-W merged commit a69d441 into commitizen-tools:v4-9-0-test Aug 6, 2025
18 checks passed
@timsu92 timsu92 deleted the fix/description_in_init branch August 6, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants