commitizen
commitizen copied to clipboard
refactor(process_commit_message): better type and early return
Description
Checklist
- [ ] I have read the contributing guidelines
Code Changes
- [ ] Add test cases to all the changes you introduce
- [ ] Run
poetry alllocally 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
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
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 #1542 +/- ##
==============================================
Coverage ? 97.96%
==============================================
Files ? 58
Lines ? 2705
Branches ? 0
==============================================
Hits ? 2650
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.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.