Skip to content

Conversation

@bearomorphism
Copy link
Collaborator

Closes #1789

@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.95%. Comparing base (aa82b98) to head (5d6f91a).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1791   +/-   ##
=======================================
  Coverage   97.95%   97.95%           
=======================================
  Files          60       60           
  Lines        2646     2646           
=======================================
  Hits         2592     2592           
  Misses         54       54           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Lee-W Lee-W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought this is handled in

def commitizen_excepthook(

@bearomorphism
Copy link
Collaborator Author

Oh I see, will take a look

@bearomorphism bearomorphism force-pushed the fix-raise-exception-issue branch from 0794acd to 4e29eb2 Compare January 14, 2026 02:25
@bearomorphism bearomorphism changed the title fix(cli,bump): remove ExpectedExit to fix exception raised issue on e… fix(cli): move sys.excepthook override to correct line, rename 'type' parameter Jan 14, 2026
@bearomorphism bearomorphism force-pushed the fix-raise-exception-issue branch from 4e29eb2 to 70edfe0 Compare January 14, 2026 02:42
@bearomorphism bearomorphism changed the title fix(cli): move sys.excepthook override to correct line, rename 'type' parameter fix(cli): move sys.excepthook override to correct line, fix no argv test Jan 14, 2026
Comment on lines -24 to -25
out, _ = capsys.readouterr()
assert out.startswith("usage")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines are unreachable...

@bearomorphism bearomorphism force-pushed the fix-raise-exception-issue branch 2 times, most recently from 53b0f25 to 8718994 Compare January 14, 2026 02:47
@bearomorphism bearomorphism force-pushed the fix-raise-exception-issue branch from 8718994 to 5d6f91a Compare January 14, 2026 02:51
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.

cz command shows ExpectedExit Exception

3 participants